mirror of
https://github.com/systemd/systemd.git
synced 2025-01-03 05:18:09 +03:00
test: filter out messages when stripping binaries
We would get an error for every script, which is just noise.
This commit is contained in:
parent
03abeb0baf
commit
408c9a07e5
@ -560,7 +560,10 @@ strip_binaries() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
ddebug "Strip binaries"
|
ddebug "Strip binaries"
|
||||||
find "$initdir" -executable -not -path '*/lib/modules/*.ko' -type f | xargs strip --strip-unneeded | ddebug
|
find "$initdir" -executable -not -path '*/lib/modules/*.ko' -type f | \
|
||||||
|
xargs strip --strip-unneeded |& \
|
||||||
|
grep -v 'file format not recognized' | \
|
||||||
|
ddebug
|
||||||
}
|
}
|
||||||
|
|
||||||
create_rc_local() {
|
create_rc_local() {
|
||||||
|
Loading…
Reference in New Issue
Block a user