]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
initramfs-framework: remove hard dependency with busybox
authorChristos Gavros <gavrosc@yahoo.com>
Mon, 7 Apr 2025 16:44:56 +0000 (18:44 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Apr 2025 10:49:15 +0000 (11:49 +0100)
commit0f745024fd40518f98390008b4f613d5641df416
tree97c4a30260de563727bd9b4cdb1befbe14e352d0
parentd76672d674b1e354ad774b8cef2d8b6cd4c9f400
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>
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>
meta/recipes-core/initrdscripts/initramfs-framework/finish