Closed edlins closed 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.
Once this is all complete, all further libPCA9685
will be done in a clean netinst
environment.
sed -i '1{s/$/ iomem=relaxed/}' /bootfs/cmdline.txt
to netinst script for pibuttonpowermake quickstart
rebuilds libPCA9685{.c.o, .so}raspberrypi-ua-netinst
chroot /rootfs <script>
libPCA9685/netinst/install_libPCA9685.txt
to libPCA9685/netinst.sh
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.
Working on raspberrypi-ua-netinst. Fresh install of stretch in about 30 minutes.
Resolved in #56 .
Released in v0.7.
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 frompost-install.txt
viachroot /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.