]> git.proxmox.com Git - mirror_lxc.git/commitdiff
oss-fuzz: handle dependencies
authorChristian Brauner <brauner@kernel.org>
Thu, 9 Jun 2022 16:14:13 +0000 (18:14 +0200)
committerChristian Brauner (Microsoft) <christian.brauner@ubuntu.com>
Thu, 9 Jun 2022 21:07:08 +0000 (23:07 +0200)
Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
src/tests/oss-fuzz.sh

index 31d78aa16b7ec2bbd5428508d93c086c76fe527c..d1d1b6379366dd86136488d350490685b7fe027b 100755 (executable)
@@ -24,6 +24,15 @@ mkdir -p $OUT
 
 export LIB_FUZZING_ENGINE=${LIB_FUZZING_ENGINE:--fsanitize=fuzzer}
 
+apt-get update -qq
+apt-get install --yes --no-install-recommends \
+    build-essential docbook2x doxygen git \
+    wget xz-utils systemd-coredump pkgconf
+apt-get remove --yes lxc-utils liblxc-common liblxc1 liblxc-dev
+
+# make sure we have a new enough meson version
+pip3 install meson ninja
+
 # Sanitized build
 meson setup san_build \
        -Dprefix=/usr \