mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08: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
|
||||
fi
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user