1
1
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:
Zbigniew Jędrzejewski-Szmek 2019-04-04 15:06:34 +02:00
parent 03abeb0baf
commit 408c9a07e5

View File

@ -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() {