Support for different init managers#23
Conversation
|
Hey, thanks for all the PRs! It'll be a little bit before I get a chance to review them all, but I did have one question up front. Why did you change the target from master to langdale? Langdale's end-of-life is next month. Ignoring that, things are typically merged into the master branch of layers first, then backported as necessary (if there's interest). I haven't reviewed everything yet, so I don't know if these PRs are backward compatible or not. If they are, no problem with pulling them back to langdale. |
|
No problem, thanks for responding. I opted to target |
adcdcc9 to
8b8eaa3
Compare
recipes-init/openrc-inittab-busybox/openrc-inittab-busybox_1.0.bb
Outdated
Show resolved
Hide resolved
recipes-init/openrc-inittab-busybox/openrc-inittab-busybox_1.0.bb
Outdated
Show resolved
Hide resolved
recipes-init/openrc-inittab-busybox/openrc-inittab-busybox_1.0.bb
Outdated
Show resolved
Hide resolved
d12262a to
985ba00
Compare
|
Done. One other change I did was set the serial consoles in BusyBox's inittab to |
jsbronder
left a comment
There was a problem hiding this comment.
Finished reviewing, just a couple of requests and this is good to merge.
985ba00 to
5cc82c2
Compare
|
Thanks for the review, should be all in order now! |
5cc82c2 to
c88127e
Compare
If we're using BusyBox init, we don't want its inittab or rcS.default and will be supplying our own.
c88127e to
80f498b
Compare
|
Merged to langdale and master. Thanks! |
This MR adds support to run OpenRC under different init managers instead of just
sysvinit.It renames
openrc-inittabtovirtual/openrc-inittabthat can be provided by different packages:openrc-inittabis moved toopenrc-inittab-sysvinitthat providesvirtual/openrc-inittab, andopenrc-inittab-busyboxis added that allows OpenRC to run under BusyBox init.Finally, it adds a subpackage for OpenRC's very own init manager,
openrc-init, and adds support to run OpenRC under it (by settingVIRTUAL-RUNTIME_init_manager = "openrc-init").I tried to make the changes clear and atomic by splitting them up into separate commits, but please let me know if anything is fuzzy or non-obvious. Thanks!