mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-06 12:58:22 +03:00
tests: add STRIP_BINARIES
We need a beautiful stacktraces sometimes For example https://github.com/systemd/systemd/pull/2328
This commit is contained in:
parent
b46f4ef107
commit
5a613464fa
@ -212,6 +212,10 @@ check_result_nspawn() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
strip_binaries() {
|
strip_binaries() {
|
||||||
|
if [[ "$STRIP_BINARIES" = "no" ]]; then
|
||||||
|
ddebug "Don't strip binaries"
|
||||||
|
return 0
|
||||||
|
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 | ddebug
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user