diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-08-27 13:10:30 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-08-27 13:10:30 +0200 |
commit | 9f927e46ac387a375be9da71c6769a0fc0ba7117 (patch) | |
tree | 710dc206b2f7aeed8174c9718f5048e4d16aab79 /test | |
parent | ae6c598791f6d142e88b88d3df402b8e1fe0d645 (diff) | |
download | systemd-9f927e46ac387a375be9da71c6769a0fc0ba7117.tar.gz |
test/test-functions: do not execute strip_binaries twice
It is called from setup_basic_environment(), which also calls install_symtemd()
a bit earlier, so in effect it would be called twice.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-functions | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test-functions b/test/test-functions index 68d780b983..a93bba4b07 100644 --- a/test/test-functions +++ b/test/test-functions @@ -640,7 +640,8 @@ install_dmevent() { } install_systemd() { - # install compiled files + ddebug "Install compiled systemd" + local _ninja_bin=$(type -P ninja || type -P ninja-build) if [[ -z "$_ninja_bin" ]]; then dfatal "ninja was not found" @@ -649,9 +650,6 @@ install_systemd() { (set -x; DESTDIR=$initdir "$_ninja_bin" -C $BUILD_DIR install) # remove unneeded documentation rm -fr $initdir/usr/share/{man,doc} - # we strip binaries since debug symbols increase binaries size a lot - # and it could fill the available space - strip_binaries [[ "$LOOKS_LIKE_SUSE" ]] && setup_suse |