1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

initscripts: add /sbin/sushell for systemd service debug-shell

Add file /sbin/sushell for systemd service debug-shell which starts with
/bin/sushell when SELinux is enabled. Copy and add sushell file from
Fedora 22.

Add runtime dependency bash as well when systemd is enabled to eliminate
QA warning:

WARNING: QA Issue: /sbin/sushell_initscripts contained in package initscripts
requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps]

(From OE-Core rev: a4b53872a8a9a2743299acbff015f7f2750a69d6)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Kai Kang
2015-07-08 14:26:00 +08:00
committed by Richard Purdie
parent fb9e6971f5
commit fbe51e01f9
2 changed files with 14 additions and 1 deletions
@@ -0,0 +1,5 @@
#!/bin/bash
[ -z "$SUSHELL" ] && SUSHELL=/bin/bash
exec $SUSHELL