On Thu, Apr 2, 2020 at 6:12 PM Andre McCurdy <[email protected]> wrote: > > On Fri, Jan 10, 2020 at 9:29 AM Khem Raj <[email protected]> wrote: > > > > Add stdin/stdout/stderr symlinks in case when not using hotplug > > Disable ctrl+alt+del, not used much > > Mount swap if defined > > > > Signed-off-by: Khem Raj <[email protected]> > > --- > > meta/recipes-core/busybox/files/inittab | 12 ++++++++---- > > 1 file changed, 8 insertions(+), 4 deletions(-) > > > > diff --git a/meta/recipes-core/busybox/files/inittab > > b/meta/recipes-core/busybox/files/inittab > > index 2bc831c7c6..e8ec2ab68e 100644 > > --- a/meta/recipes-core/busybox/files/inittab > > +++ b/meta/recipes-core/busybox/files/inittab > > @@ -8,11 +8,17 @@ > > ::sysinit:/bin/mkdir -p /dev/pts > > ::sysinit:/bin/mount -t devpts devpts /dev/pts > > ::sysinit:/bin/mount -a > > - > > +::sysinit:/sbin/swapon -a > > +null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd > > +null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin > > +null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout > > +null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr > > +# set hostname > > +null::sysinit:/bin/busybox hostname -F /etc/hostname > > Trying to send the output of these commands to /dev/null seems to go > against the fix previously made to inittab to stop doing that? > > > https://git.openembedded.org/openembedded-core/commit/?id=82de49b899bca915259ea7ea149f50e1401c2426 >
It was to avoid additional messages on stdout, so remove null there should be ok if it fixes initramfs please send a patch > > ::sysinit:/etc/init.d/rcS > > > > # Stuff to do before rebooting > > -::ctrlaltdel:/sbin/reboot > > +#::ctrlaltdel:/sbin/reboot > > ::shutdown:/etc/init.d/rcK > > ::shutdown:/sbin/swapoff -a > > ::shutdown:/bin/umount -a -r > > @@ -20,5 +26,3 @@ > > # Stuff to do when restarting the init process > > ::restart:/sbin/init > > > > -# set hostname > > -null::sysinit:/bin/busybox hostname -F /etc/hostname > > -- > > 2.24.1 > > > > -- > > _______________________________________________ > > Openembedded-core mailing list > > [email protected] > > http://lists.openembedded.org/mailman/listinfo/openembedded-core
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#136970): https://lists.openembedded.org/g/openembedded-core/message/136970 Mute This Topic: https://lists.openembedded.org/mt/72391252/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
