Closed pirateradiohack closed 1 year ago
You can simply add your own scripts and files to the bootstrap overlay: https://github.com/jcorporation/myMPDos/tree/master/mympdos/overlay. Scripts in etc/local.d
are executed on startup.
Some hints:
REBOOT=0
to your bootstrap.txt
file, else the standard bootstrap scripts reboots before your custom script will be executed.lbu_commit
to save your changesreboot
I would prefer to package the missing python modules as apk and add a separate repository. Hosting the repository itself on GitHub works like a charm. Running pip
should work also, be aware of that lbu
does not save all changes, only the changes in directories listed by lbu_include -l
and /etc
(Reference: https://wiki.alpinelinux.org/wiki/Alpine_local_backup).
Thanks, that's excellent information. Will try that out soon!
In another conversation it was mentioned that "extra software" could be installed, by using the
EXTRA_SOFTWARE
config option.It looks like the list requires valid Alpine packages to be installed with
apk
.I need to install a few Python modules. I understand their dependencies can be installed through
apk
if I'm lucky. Some dependencies may requirepip
though, do you have any recommendation in this case?Regarding the Python modules themselves, I guess the simple way would be to package those to be installable by
apk
, am I correct? In this case, is there a simple way to provide those packages through a localapk
repository?