mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
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>
This commit is contained in:
parent
fbc17ee77b
commit
e6d3676b59
|
@ -1672,7 +1672,7 @@ index 0000000..06bfd97
|
|||
--- /dev/null
|
||||
+++ b/src/notifyDesktop.sh
|
||||
@@ -0,0 +1,10 @@
|
||||
+#!/bin/bash
|
||||
+#!/bin/sh
|
||||
+# get list of current users
|
||||
+for x in $(who | sort -u -k1,1 | awk '{print $1}'); do
|
||||
+ # send message to anyone on display 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user