summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-12-08 07:22:33 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-12-10 07:50:29 +0000
commitf79caf3b6bf4b3c4942874af70cfa8c912959faa (patch)
tree52434b0cd34d3ba3dc4c2b6a27d438f5d8611eb7
parent8382fa6408ef5efc45260e332579a6d9ee648d87 (diff)
downloadsamba-f79caf3b6bf4b3c4942874af70cfa8c912959faa.tar.gz
lib/fuzzing: Remove oss-fuzz build.sh stub from the Samba repo
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>
-rw-r--r--lib/fuzzing/oss-fuzz/build.sh6
-rwxr-xr-xlib/fuzzing/oss-fuzz/build_image.sh1
2 files changed, 0 insertions, 7 deletions
diff --git a/lib/fuzzing/oss-fuzz/build.sh b/lib/fuzzing/oss-fuzz/build.sh
deleted file mode 100644
index 14ba6ee83b2..00000000000
--- a/lib/fuzzing/oss-fuzz/build.sh
+++ /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
diff --git a/lib/fuzzing/oss-fuzz/build_image.sh b/lib/fuzzing/oss-fuzz/build_image.sh
index fa899effc37..6dcbd16a75a 100755
--- a/lib/fuzzing/oss-fuzz/build_image.sh
+++ b/lib/fuzzing/oss-fuzz/build_image.sh
@@ -8,4 +8,3 @@ $SCRIPT_DIR/../../../bootstrap/generated-dists/$DIST/locale.sh
apt-get install chrpath
-cp $SCRIPT_DIR/build.sh $SRC/