From fe7cef6febdb938b535259b09690192b17074314 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Thu, 16 Jun 2011 16:59:03 +0800 Subject: 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 --- meta/recipes-core/initscripts/initscripts_1.0.bb | 6 +++--- meta/recipes-core/udev/udev-new.inc | 2 +- meta/recipes-core/udev/udev_164.bb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'meta/recipes-core') diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb index 48b65b9000..9e535af3bc 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 1b94f1bc9b..4c4451f14b 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 76fd907ef7..567e62e3ff 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" -- cgit v1.2.3