summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2017-08-23 12:56:10 -0700
committerSaul Wold <sgw@linux.intel.com>2017-08-23 16:30:51 -0700
commite6d3676b591a8b020b2dbd8b7b2c2e40c5446608 (patch)
treebd7feef0c98035d84442a2cf0ca8deb2dde5680f /common
parentfbc17ee77b6298b8a1ad9950197d7b92bf24e98b (diff)
downloadmeta-intel-e6d3676b591a8b020b2dbd8b7b2c2e40c5446608.tar.gz
lms: use sh instead of bash in notifyDesktop.sh
A recent update to OE-core revealed the missing runtime dependency: ERROR: lms8-8.0.0-7-r0 do_package_qa: QA Issue: /usr/bin/notifyDesktop.sh contained in package lms8 requires /bin/bash, but no providers found in RDEPENDS_lms8? [file-rdeps] But it turns out that notifyDesktop doesn't actually require bash: $ checkbashisms.pl notifyDesktop.sh could not find any possible bashisms in bash script notifyDesktop.sh So just change the shebang line to /bin/sh. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> CC: mikko.ylinen@linux.intel.com CC: anand.vastrad@intel.com Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'common')
-rw-r--r--common/recipes-bsp/amt/lms/0004-Intel-AMT-ME-real-time-notification-infra.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/recipes-bsp/amt/lms/0004-Intel-AMT-ME-real-time-notification-infra.patch b/common/recipes-bsp/amt/lms/0004-Intel-AMT-ME-real-time-notification-infra.patch
index 6866705a..04f584ae 100644
--- a/common/recipes-bsp/amt/lms/0004-Intel-AMT-ME-real-time-notification-infra.patch
+++ b/common/recipes-bsp/amt/lms/0004-Intel-AMT-ME-real-time-notification-infra.patch
@@ -1672,7 +1672,7 @@ index 0000000..06bfd97
1672--- /dev/null 1672--- /dev/null
1673+++ b/src/notifyDesktop.sh 1673+++ b/src/notifyDesktop.sh
1674@@ -0,0 +1,10 @@ 1674@@ -0,0 +1,10 @@
1675+#!/bin/bash 1675+#!/bin/sh
1676+# get list of current users 1676+# get list of current users
1677+for x in $(who | sort -u -k1,1 | awk '{print $1}'); do 1677+for x in $(who | sort -u -k1,1 | awk '{print $1}'); do
1678+ # send message to anyone on display 0 1678+ # send message to anyone on display 0