mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
initscripts: Fix regression for requiring /bin/bash
It is not possible to create a rootfs with only busybox + initscipts. This is a result of a regression from commit a4b53872a8a9a2743299acbff015f7f2750a69d6 (initscripts: add /sbin/sushell for systemd service debug-shell). The /sbin/sushell should just use /bin/sh else you end up with a problem when creating the end image with a failed smart transaction shown below: ERROR: Unable to install packages. Command '/proj/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/smart --quiet --data-dir=/proj/bitbake_build/tmp/work/qemuarma9-wrs-linux-gnueabi/wrlinux-image-glibc-small/1.0-r1/rootfs/var/lib/smart install -y dropbear@armv7at2_vfp hac@armv7at2_vfp run-postinsts@all kernel-modules@qemuarma9 packagegroup-core-boot@qemuarma9' returned 1: error: Can't install initscripts-1.0-r155.0@armv7at2_vfp: no package provides /bin/bash (From OE-Core rev: 4917e36a77bd6821b45db52caa43939d344d92f6) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8b8380833f
commit
38d5255690
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
[ -z "$SUSHELL" ] && SUSHELL=/bin/bash
|
||||
[ -z "$SUSHELL" ] && SUSHELL=/bin/sh
|
||||
|
||||
exec $SUSHELL
|
||||
|
||||
Reference in New Issue
Block a user