mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-27 03:21:32 +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
|
||||
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