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 timemaster
parent
f182cb9599
commit
2a5a7fb662
|
@ -191,7 +191,7 @@ EOF
|
||||||
# softlink mtab
|
# softlink mtab
|
||||||
ln -fs /proc/self/mounts $initdir/etc/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 \
|
egrep -ho '^Exec[^ ]*=[^ ]+' $initdir/lib/systemd/system/*.service \
|
||||||
| while read i; do
|
| while read i; do
|
||||||
i=${i##Exec*=}; i=${i##-}
|
i=${i##Exec*=}; i=${i##-}
|
||||||
|
@ -205,7 +205,7 @@ EOF
|
||||||
cp -a /etc/ld.so.conf* $initdir/etc
|
cp -a /etc/ld.so.conf* $initdir/etc
|
||||||
ldconfig -r "$initdir"
|
ldconfig -r "$initdir"
|
||||||
ddebug "Strip binaeries"
|
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
|
# copy depmod files
|
||||||
inst /lib/modules/$kernel/modules.order
|
inst /lib/modules/$kernel/modules.order
|
||||||
|
|
Loading…
Reference in New Issue