mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
policycoreutils: Update fixfile
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>
This commit is contained in:
parent
bca5c61150
commit
907e373e40
|
|
@ -25,6 +25,8 @@ DEPENDS += "${@target_selinux(d, 'libpam audit')}"
|
|||
|
||||
RDEPENDS_${BPN}-fixfiles += "\
|
||||
${BPN}-setfiles \
|
||||
grep \
|
||||
findutils \
|
||||
"
|
||||
RDEPENDS_${BPN}-genhomedircon += "\
|
||||
${BPN}-genhomedircon \
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ index 1aa330f..a10837d 100755
|
|||
# number if the current is less than 2.6.30 and 0 if they are the same.
|
||||
#
|
||||
-function useseclabel {
|
||||
+useseclabel {
|
||||
+useseclabel () {
|
||||
VER=`uname -r`
|
||||
SUP=2.6.30
|
||||
expr '(' "$VER" : '\([^.]*\)' ')' '-' '(' "$SUP" : '\([^.]*\)' ')' '|' \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user