lib/fuzzing: Remove oss-fuzz build.sh stub from the Samba repo
authorAndrew Bartlett <abartlet@samba.org>
Sat, 7 Dec 2019 18:22:33 +0000 (07:22 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 Dec 2019 07:50:29 +0000 (07:50 +0000)
We need to ship the stub build.sh in the oss-fuzz repo, not ours.
This is because otherwise the travis CI checks skip the build
(it thinks we are not set up yet, or have been disabled).

See https://github.com/google/oss-fuzz/pull/3094 for the PR
creating a similar file there.  This is very similar to how
janus-gateway operates, so this is an accepted pattern.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/fuzzing/oss-fuzz/build.sh [deleted file]
lib/fuzzing/oss-fuzz/build_image.sh

diff --git a/lib/fuzzing/oss-fuzz/build.sh b/lib/fuzzing/oss-fuzz/build.sh
deleted file mode 100644 (file)
index 14ba6ee..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh -e
-
-# This will be copied into $SRC, being the root of the source tree by
-# build_image.sh
-
-exec lib/fuzzing/oss-fuzz/build_samba.sh
index fa899effc374e1e63680543a6c014ce0f5f428dd..6dcbd16a75a5ff95251a0a907babcbb0c0a07c97 100755 (executable)
@@ -8,4 +8,3 @@ $SCRIPT_DIR/../../../bootstrap/generated-dists/$DIST/locale.sh
 
 apt-get install chrpath
 
-cp $SCRIPT_DIR/build.sh $SRC/