edlins / libPCA9685

superfast PCA9685 library for Debian platforms. developed on Raspbian on a Pi B+.
MIT License
13 stars 8 forks source link

provide netinst.sh for netinst #50

Closed edlins closed 6 years ago

edlins commented 6 years ago

Provide a netinst.sh script for {raspbian, raspberrypi}-ua-netinst that will deploy to a netinst host during provisioning. Script will be downloaded and executed from post-install.txt via chroot /rootfs/<script>. Initially just the lib is required to be built, tested, and installed. Eventually would be nice to have all examples but that could be unwieldy due to dependencies.

edlins commented 6 years ago

For every project that can be included as an extra in netinst, create a subfolder netinst/ containing a text file install_<project>.txt that is suitable for execution from post-install.txt during a netinst. Then add a line to post-install.txt like:

EXTRAS="$EXTRAS https://raw.githubusercontent.com/edlins/libPCA9685/master/src/netinst/install_libPCA9685.txt`

Then mv /boot/config-reinstall.txt /boot/config.txt and reboot. A new repo will be opened for my customized post-install.txt file for raspbian-ua-netinst and these instructions will be included there.

edlins commented 6 years ago

Once this is all complete, all further libPCA9685 will be done in a clean netinst environment.

edlins commented 6 years ago
edlins commented 6 years ago

Outstanding items addressed, working with raspbian-ua-netinst. Now I'll investigate switching to raspberrypi-ua-netinst. This will be the last item before releasing 0.7.

EDIT: things are a little out of sync because I setup the netinst.sh scripts on the master branch but they only work against the develop branch. You can still run the netinst by following the directions at picontrol-netinst. Just be aware that will pull the netinst.sh from master but the develop branch will be cloned, built, and installed. I'll clean this up shortly to avoid confusion.

edlins commented 6 years ago

Working on raspberrypi-ua-netinst. Fresh install of stretch in about 30 minutes.

edlins commented 6 years ago

Resolved in #56 .

edlins commented 6 years ago

Released in v0.7.