diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2017-09-14 16:10:58 -0500 |
---|---|---|
committer | Mark Hatle <mark.hatle@windriver.com> | 2017-09-14 16:12:25 -0500 |
commit | 907e373e4059870231360aabf9d9651d318968d9 (patch) | |
tree | b636fd69d0a641be1eccad8e134e9f132138dbaa /recipes-security/selinux/policycoreutils | |
parent | bca5c611508d0d19a08fb7fc3f7810c85fcfeba5 (diff) | |
download | meta-selinux-mgh/master-next.tar.gz |
policycoreutils: Update fixfilemgh/master-next
The functional call may not always work as specified, be sure to include the
() to make sure the shell knows this is a function.
Also add both findutils and grep as necessary for fixfiles to run properly
in a minimal environment. Busybox is not adequate at this time.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'recipes-security/selinux/policycoreutils')
-rw-r--r-- | recipes-security/selinux/policycoreutils/policycoreutils-fixfiles-de-bashify.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-security/selinux/policycoreutils/policycoreutils-fixfiles-de-bashify.patch b/recipes-security/selinux/policycoreutils/policycoreutils-fixfiles-de-bashify.patch index 0144de7..70cdd4f 100644 --- a/recipes-security/selinux/policycoreutils/policycoreutils-fixfiles-de-bashify.patch +++ b/recipes-security/selinux/policycoreutils/policycoreutils-fixfiles-de-bashify.patch | |||
@@ -33,7 +33,7 @@ index 1aa330f..a10837d 100755 | |||
33 | # number if the current is less than 2.6.30 and 0 if they are the same. | 33 | # number if the current is less than 2.6.30 and 0 if they are the same. |
34 | # | 34 | # |
35 | -function useseclabel { | 35 | -function useseclabel { |
36 | +useseclabel { | 36 | +useseclabel () { |
37 | VER=`uname -r` | 37 | VER=`uname -r` |
38 | SUP=2.6.30 | 38 | SUP=2.6.30 |
39 | expr '(' "$VER" : '\([^.]*\)' ')' '-' '(' "$SUP" : '\([^.]*\)' ')' '|' \ | 39 | expr '(' "$VER" : '\([^.]*\)' ')' '-' '(' "$SUP" : '\([^.]*\)' ')' '|' \ |