1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-15 17:50:07 +00:00
Files
poky/meta/recipes-core/initscripts/initscripts-1.0/sushell
T
Kai Kang fbe51e01f9 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>
2015-07-09 18:00:20 +01:00

6 lines
67 B
Bash

#!/bin/bash
[ -z "$SUSHELL" ] && SUSHELL=/bin/bash
exec $SUSHELL