Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383301 - sys-apps/busybox: mdev init.d misses new openrc dependencies
Summary: sys-apps/busybox: mdev init.d misses new openrc dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-17 03:06 UTC by Nathan Phillip Brink (binki) (RETIRED)
Modified: 2011-09-17 03:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
busybox-mdev-openrc.patch (busybox-mdev-openrc.patch,592 bytes, patch)
2011-09-17 03:06 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-09-17 03:06:23 UTC
Created attachment 286741 [details, diff]
busybox-mdev-openrc.patch

When using parallel startup and whatnot, `mdev -s' gets run before sysfs is mounted on a modern (e.g., sys-apps/openrc-0.8.3-r1) version of openrc. This patch updates the script to require sysfs be mounted first.

The one potential question is whether or not the patch should copy the following line from the udev initscript:

    if [ -f /etc/init.d/sysfs ]; then

It supposedly adds graceful support for older openrc versions.
Comment 1 SpanKY gentoo-dev 2011-09-17 03:46:55 UTC
should be all set now in the tree; thanks for the report!

Commit message: Version bump.  Also update init.d script for openrc only
http://sources.gentoo.org/sys-apps/busybox/busybox-1.19.2.ebuild?rev=1.1
http://sources.gentoo.org/sys-apps/busybox/files/mdev.rc.1?rev=1.1