[OE-core] [PATCH 1/1] sysvinit-inittab: change default runlevel for lsb
Kang Kai
kai.kang at windriver.com
Wed Mar 6 06:16:46 UTC 2013
LSB images are used to run LSB test suite and there is no test case to
check GUI so X/GUI is not included into LSB images. And in LSB
specification, runlevel 5 is to boot with GUI, so change the default
runlevel from 5 to 3 for LSB images.
[YOCTO #3927]
Signed-off-by: Kang Kai <kai.kang at windriver.com>
---
.../sysvinit/sysvinit-inittab_2.88dsf.bb | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
index b289853..87c701b 100644
--- a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
@@ -73,6 +73,10 @@ else
fi
}
+do_install_append_linuxstdbase() {
+ sed -i 's/^id:5:initdefault/id:3:initdefault/' ${D}${sysconfdir}/inittab
+}
+
# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
# Set PACKAGE_ARCH appropriately.
PACKAGE_ARCH = "${MACHINE_ARCH}"
--
1.7.5.4
More information about the Openembedded-core
mailing list