test/TEST-04-FULL-SYSTEMD/test.sh: fix the find -perm

"find -perm +111" should be "find -perm /0111" as it is deprecated since
a long time
master
Harald Hoyer 2015-01-22 16:00:50 +01:00
parent f182cb9599
commit 2a5a7fb662
1 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ EOF
# softlink mtab
ln -fs /proc/self/mounts $initdir/etc/mtab

# install any Exec's from the service files
# install any Execs from the service files
egrep -ho '^Exec[^ ]*=[^ ]+' $initdir/lib/systemd/system/*.service \
| while read i; do
i=${i##Exec*=}; i=${i##-}
@ -205,7 +205,7 @@ EOF
cp -a /etc/ld.so.conf* $initdir/etc
ldconfig -r "$initdir"
ddebug "Strip binaeries"
find "$initdir" -perm +111 -type f | xargs -r strip --strip-unneeded | ddebug
find "$initdir" -perm /0111 -type f | xargs -r strip --strip-unneeded | ddebug

# copy depmod files
inst /lib/modules/$kernel/modules.order