From: Andrew Bartlett Date: Sat, 7 Dec 2019 18:45:58 +0000 (+1300) Subject: lib/fuzzing Truncate the original files after RUNPATH manipulation in build.sh X-Git-Tag: ldb-2.1.0~312 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c8388fb19865c7e0aa6facf43b6cbd1906a6b2c;p=thirdparty%2Fsamba.git lib/fuzzing Truncate the original files after RUNPATH manipulation in build.sh This saves space on the rackspace runners in particular. Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/lib/fuzzing/oss-fuzz/build_samba.sh b/lib/fuzzing/oss-fuzz/build_samba.sh index 2c09ba323ef..e4783442b20 100755 --- a/lib/fuzzing/oss-fuzz/build_samba.sh +++ b/lib/fuzzing/oss-fuzz/build_samba.sh @@ -64,4 +64,7 @@ do # Change RUNPATH so that the copied libraries are found on the # runner chrpath -r '$ORIGIN/lib' $OUT/$bin + + # Truncate the original binary to save space + echo -n > $x done