osresearch / linux-builder

Scripts to build the Linux kernel from a config file and initrd from a list of programs
19 stars 1 forks source link

tinyinit with multiple things to exec #2

Closed osresearch closed 2 years ago

osresearch commented 2 years ago

Instead of a single file, tinyinit should process glob("/init.d/*")' and fork each of them in turn. It can thenwait()` on all of them to come back in, as well as occasionally syslog stats, etc.

osresearch commented 2 years ago

Implemented in https://github.com/osresearch/linux-builder/commit/be24b3584ab654790f8fdb04a9a075d6a4f4a865