aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/sysvinit
AgeCommit message (Collapse)Author
2020-03-30sysvinit-inittab_xen: Using getty wrapper to minimize console messagesJaewon Lee
Previously the following message was printed on the console every 5 minutes: INIT: Id "X0" respawning too fast: disabled for 5 minutes Installing and using a getty-wrapper that will check for the hypervisor (hvc0) device and if not present, will call sleep Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-04-12Revert "sysvinit-inittab_xen.inc: fix hypervisor console"Bruce Ashfield
Temporarily reverting this commit, since it has broken some Xen boot usecases. We'll revisit this in the future. This reverts commit 50cdecca7b2a0e1bb5eacbec132f26b802f950fc.
2019-03-24sysvinit-inittab_xen.inc: fix hypervisor consoleManjukumar Matha
This commit switches over to using existing SERIAL_CONSOLES mechanism for hvc0 inittab entry generation. This then results in /bin/start_getty wrapper being used, which avoids the getty failure seen when running a xen capable rootfs natively on linux. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2018-04-17sysvinit: fix DISTRO decodeArmin Kuster
the yocto-check-layer failed with: Dependency on variable DISTRO_FEATURES_LIBC was added Variable do_install value changed: @@ -32,3 +32,7 @@ done echo "" >> ${D}${sysconfdir}/inittab fi + if echo "${DISTRO_FEATURES}" | grep -q 'xen'; then + echo "" >> ${D}${sysconfdir}/inittab + echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab + fi used idea from meta-selinux Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-09-08bbappend: switch to use a wildcard beyond major versionMark Asselstine
Using a wildcard will simplify things when using meta-virtualization against different yocto or oe branches and prevent having to make future updates to keep in step with package uprevs. The changes found within these bbappend tend to be generic and non-version specific, thus safe for 'porting' via wildcard. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-11-13fix inittab install when Xen not in DISTRO_FEATURESRiku Voipio
With the latest patch, OE builds may file like: https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.8,label=oe_persistent_cloud,rootfs=minimal/127/consoleText By having the "failing" grep within the if block, set -e in shell code will not bite configurations where meta-virtualization is included but xen is not in DISTRO_FEATURES. Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-11-07xen: Add getty to inittab for login on Xen serial console.Philip Tricca
It's not pretty but the mechanisms in sysvinit-inittab assume the console device name is tty*. The Xen console device doesn't meet this criteria. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>