All, currently busybox installs a baselayout-1 compatible addon, mdev-start.sh, with no way to run it under openrc. Before openrc can go stable, we need a startup script for busybox. Thanks, William
Created attachment 217750 [details] mdev.initd All, here is the beginning of an init script. The dependencies still need to be written, then this can be tested and committed to the tree with a revbump of the ebuild. In the revbump, I would suggest using has_version to determine whether to install the addon or the init script. Thanks, William
(In reply to comment #1) > In the revbump, I would suggest using has_version to determine whether > to install the addon or the init script. To clearify this point, if the user has baselayout-2 installed, there is no need to install the addon. Also, in this case, you might want to use ewarn to let the user know that the mdev script needs to be added to the appropriate runlevel.
(In reply to comment #1) > > In the revbump, I would suggest using has_version to determine whether > to install the addon or the init script. > Install both like every other package does with an addon. Otherwise the user will have to figure out "oh yeah I just upgraded to baselayout, I need to re-emerge this package to get an initscript." Just add a check in the initscript (like all the others) saying its only for bl-2.
(In reply to comment #3) > Install both like every other package does with an addon. Otherwise the user > will have to figure out "oh yeah I just upgraded to baselayout, I need to > re-emerge this package to get an initscript." Just add a check in the > initscript (like all the others) saying its only for bl-2. Yes, this would be the best way to handle this situation. :-)
Vapier, As you wrote the initial mdev addon code. Can you review this and see if it's suitable for inclusion in the next bb? Thanks in advance.
All, what is the progress on this bug? We need it since it is a blocker for openrc stabilization. Thanks, William
i slapped together a simple one that just sources the mdev start script