diff options
Diffstat (limited to 'recipes-security')
-rw-r--r-- | recipes-security/selinux/policycoreutils.inc | 2 | ||||
-rw-r--r-- | recipes-security/selinux/policycoreutils/policycoreutils-fixfiles-de-bashify.patch | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc index fc181f7..442b086 100644 --- a/recipes-security/selinux/policycoreutils.inc +++ b/recipes-security/selinux/policycoreutils.inc | |||
@@ -25,6 +25,8 @@ DEPENDS += "${@target_selinux(d, 'libpam audit')}" | |||
25 | 25 | ||
26 | RDEPENDS_${BPN}-fixfiles += "\ | 26 | RDEPENDS_${BPN}-fixfiles += "\ |
27 | ${BPN}-setfiles \ | 27 | ${BPN}-setfiles \ |
28 | grep \ | ||
29 | findutils \ | ||
28 | " | 30 | " |
29 | RDEPENDS_${BPN}-genhomedircon += "\ | 31 | RDEPENDS_${BPN}-genhomedircon += "\ |
30 | ${BPN}-genhomedircon \ | 32 | ${BPN}-genhomedircon \ |
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" : '\([^.]*\)' ')' '|' \ |