From fbe51e01f9c7da714c0602fb1e27ffeb05825b00 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Wed, 8 Jul 2015 14:26:00 +0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-core/initscripts/initscripts-1.0/sushell | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 meta/recipes-core/initscripts/initscripts-1.0/sushell (limited to 'meta/recipes-core/initscripts/initscripts-1.0') diff --git a/meta/recipes-core/initscripts/initscripts-1.0/sushell b/meta/recipes-core/initscripts/initscripts-1.0/sushell new file mode 100644 index 0000000000..7d96941687 --- /dev/null +++ b/meta/recipes-core/initscripts/initscripts-1.0/sushell @@ -0,0 +1,5 @@ +#!/bin/bash + +[ -z "$SUSHELL" ] && SUSHELL=/bin/bash + +exec $SUSHELL -- cgit v1.2.3-54-g00ecf