[OE-core] [PATCH 1/1] sysvinit-inittab: change default runlevel for lsb

Kang Kai Kai.Kang at windriver.com
Wed Mar 27 08:39:56 UTC 2013


On 2013年03月06日 14:16, Kang Kai wrote:
> 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.
Any comment?

--Kai

>
> [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}"





More information about the Openembedded-core mailing list