poky/meta/recipes-core/initrdscripts/initramfs-framework
Christos Gavros 07b2d077c7 initramfs-framework: remove hard dependency with busybox
In 'finish'script the Switch_root command with option -c is busybox specific.
When package-core-base-utils is selected the boot is breaking with message
"Switch_root: invalid option — ‘c’.It was reproduced using qemu.
Remove -c option to make it compatible with both providers.
It is tested using qemu with busybox and package-core-base-utils. In both cases
qemu boots successfully and filesystem is accessible.
Fixes [YOCTO #15716]

CC: Yoann Congal <yoann.congal@smile.fr>
CC: Randy MacLeod <randy.macleod@windriver.com>
CC: jbk <jbk@mm-software.com>
CC: Raj Khem <raj.khem@gmail.com>
CC: Adrian Freihofer <adrian.freihofer@gmail.com>
(From OE-Core rev: 0f745024fd40518f98390008b4f613d5641df416)

Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:49:59 +01:00
..
debug
e2fs
exec initramfs-framework: Add exec module 2017-12-10 22:45:19 +00:00
finish initramfs-framework: remove hard dependency with busybox 2025-04-11 11:49:59 +01:00
init initramfs-framework: init: fix typo 2024-09-30 17:00:51 +01:00
lvm initramfs-framework: add lvm module 2019-03-25 23:13:48 +00:00
mdev initramfs-framework: Allow directories with spaces 2017-09-12 23:55:28 +01:00
nfsrootfs initramfs-framework: add nfsrootfs module 2018-07-09 22:48:39 +01:00
overlayroot initramfs-framework: overlayroot: align bootparams with module name 2024-02-19 14:56:23 +00:00
rootfs initrdscripts: add UBI support 2025-01-08 12:37:20 +00:00
setup-live initramfs-framework/setup-live: fix shebang 2021-07-24 16:33:46 +01:00
udev initramfs-framework: fix boothang when console=null 2020-03-13 23:00:26 +00:00