diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-06-16 16:59:03 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-29 14:46:27 +0100 |
commit | fe7cef6febdb938b535259b09690192b17074314 (patch) | |
tree | a54ecade266b1332464906e83855ed169ac48a1f | |
parent | 724a06bbbb0bb93e156d4769e08b8f6bf2de555c (diff) | |
download | openembedded-core-fe7cef6febdb938b535259b09690192b17074314.tar.gz openembedded-core-fe7cef6febdb938b535259b09690192b17074314.tar.bz2 openembedded-core-fe7cef6febdb938b535259b09690192b17074314.tar.xz openembedded-core-fe7cef6febdb938b535259b09690192b17074314.zip |
initscript: Change some order of init scripts
Move udev script to execute ealier since module autoload needs it to
create device nodes.
Also move sysfs before udev which has dependency on it.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
-rw-r--r-- | meta/recipes-core/initscripts/initscripts_1.0.bb | 6 | ||||
-rw-r--r-- | meta/recipes-core/udev/udev-new.inc | 2 | ||||
-rw-r--r-- | meta/recipes-core/udev/udev_164.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/modutils/modutils-initscripts.bb | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb index 48b65b900..9e535af3b 100644 --- a/meta/recipes-core/initscripts/initscripts_1.0.bb +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb @@ -4,7 +4,7 @@ SECTION = "base" PRIORITY = "required" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -PR = "r126" +PR = "r127" INHIBIT_DEFAULT_DEPS = "1" @@ -119,8 +119,8 @@ do_install () { ln -sf ../init.d/bootmisc.sh ${D}${sysconfdir}/rcS.d/S55bootmisc.sh # ln -sf ../init.d/urandom ${D}${sysconfdir}/rcS.d/S55urandom # ln -sf ../init.d/finish.sh ${D}${sysconfdir}/rcS.d/S99finish.sh - # udev will run at S04 if installed - ln -sf ../init.d/sysfs.sh ${D}${sysconfdir}/rcS.d/S03sysfs.sh + ln -sf ../init.d/sysfs.sh ${D}${sysconfdir}/rcS.d/S02sysfs.sh + # udev will run at S03 if installed ln -sf ../init.d/populate-volatile.sh ${D}${sysconfdir}/rcS.d/S37populate-volatile.sh ln -sf ../init.d/devpts.sh ${D}${sysconfdir}/rcS.d/S38devpts.sh if [ "${TARGET_ARCH}" = "arm" ]; then diff --git a/meta/recipes-core/udev/udev-new.inc b/meta/recipes-core/udev/udev-new.inc index 1b94f1bc9..4c4451f14 100644 --- a/meta/recipes-core/udev/udev-new.inc +++ b/meta/recipes-core/udev/udev-new.inc @@ -40,7 +40,7 @@ PACKAGES =+ "libgudev libgudev-dev libgudev-dbg" INITSCRIPT_PACKAGES = "udev udev-cache" INITSCRIPT_NAME_udev = "udev" -INITSCRIPT_PARAMS_udev = "start 04 S ." +INITSCRIPT_PARAMS_udev = "start 03 S ." INITSCRIPT_NAME_udev-cache = "udev-cache" INITSCRIPT_PARAMS_udev-cache = "start 36 S ." diff --git a/meta/recipes-core/udev/udev_164.bb b/meta/recipes-core/udev/udev_164.bb index 76fd907ef..567e62e3f 100644 --- a/meta/recipes-core/udev/udev_164.bb +++ b/meta/recipes-core/udev/udev_164.bb @@ -1,6 +1,6 @@ include udev-new.inc -PR = "r2" +PR = "r3" SRC_URI[md5sum] = "fddac2d54761ea34865af9467377ca9f" SRC_URI[sha256sum] = "c12e66280b5e1465f6587a8cfa47d7405c4caa7e52ce5dd13478d04f6ec05e5c" diff --git a/meta/recipes-kernel/modutils/modutils-initscripts.bb b/meta/recipes-kernel/modutils/modutils-initscripts.bb index 5ae34b4df..89d38cff4 100644 --- a/meta/recipes-kernel/modutils/modutils-initscripts.bb +++ b/meta/recipes-kernel/modutils/modutils-initscripts.bb @@ -4,10 +4,10 @@ LICENSE = "PD" LIC_FILES_CHKSUM = "file://LICENSE;md5=7bf87fc37976e93ec66ad84fac58c098" SRC_URI = "file://modutils.sh \ file://PD.patch" -PR = "r5" +PR = "r6" INITSCRIPT_NAME = "modutils.sh" -INITSCRIPT_PARAMS = "start 2 S ." +INITSCRIPT_PARAMS = "start 4 S ." inherit update-rc.d |