aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2021-11-17 08:47:29 +0000
committerFrantisek Sumsal <frantisek@sumsal.cz>2021-11-19 08:52:28 +0000
commit2fd1beb3e20cbd9c9a2f9d37bf301f596116b475 (patch)
treec0c0bffc19e204d7fcbdbc894978fde700497027 /tools
parentMerge pull request #21436 from yuwata/network-bus-introspect (diff)
downloadsystemd-2fd1beb3e20cbd9c9a2f9d37bf301f596116b475.tar.xz
systemd-2fd1beb3e20cbd9c9a2f9d37bf301f596116b475.zip
oss-fuzz: move apt-gets and pips to the systemd repository
to be able to control our dependencies right here without sending PRs like https://github.com/google/oss-fuzz/pull/5199 and https://github.com/google/oss-fuzz/pull/5601. It should also allow us to pin meson to let Dependabot keep track of it and jump from one version to another without breaking anything
Diffstat (limited to 'tools')
-rwxr-xr-xtools/oss-fuzz.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh
index d9cfcf8f3b5..5e011c78b24 100755
--- a/tools/oss-fuzz.sh
+++ b/tools/oss-fuzz.sh
@@ -31,6 +31,13 @@ if [ -z "$FUZZING_ENGINE" ]; then
fuzzflag="llvm-fuzz=true"
else
fuzzflag="oss-fuzz=true"
+
+ apt-get update
+ apt-get install -y gperf m4 gettext python3-pip \
+ libcap-dev libmount-dev libkmod-dev \
+ pkg-config wget
+ pip3 install meson ninja jinja2
+
if [[ "$SANITIZER" == undefined ]]; then
UBSAN_FLAGS="-fsanitize=pointer-overflow -fno-sanitize-recover=pointer-overflow"
CFLAGS="$CFLAGS $UBSAN_FLAGS"