aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/systemd
diff options
context:
space:
mode:
authorGravatar Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-03-09 20:50:06 +0100
committerGravatar Abhishek Arya <inferno@chromium.org>2018-03-09 11:50:06 -0800
commitdf573a03e204d175f6aca9b533effb274e92798a (patch)
treecf185cef960ccd0caf1eaeb6e72fd0482488c581 /projects/systemd
parent62a6a217107457343f33f8831ea963d8e1dac7d5 (diff)
[systemd] install libmount-devel (#1224)
Right now systemd declares a requirement on libmount-devel >= 2.30. But this is only because of fixes in libmount 2.30 that matter at runtime. For fuzzing (and to build) any libmount version is enough. https://github.com/systemd/systemd/commit/c0b4b0f8f548c755dee81b relaxed the version check in systemd. To fix the build we need to install libmount-dev (and pkg-config, because meson requires that for pkg-config deps to actually work). Fixes #1191.
Diffstat (limited to 'projects/systemd')
-rw-r--r--projects/systemd/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/systemd/Dockerfile b/projects/systemd/Dockerfile
index aa874cb0..8af98de0 100644
--- a/projects/systemd/Dockerfile
+++ b/projects/systemd/Dockerfile
@@ -16,7 +16,8 @@
FROM gcr.io/oss-fuzz-base/base-builder
MAINTAINER jonathan@titanous.com
-RUN apt-get update && apt-get install -y gperf m4 gettext libcap-dev python3-pip &&\
+RUN apt-get update &&\
+ apt-get install -y gperf m4 gettext libcap-dev python3-pip libmount-dev pkg-config &&\
pip3 install meson ninja
RUN git clone --depth 1 https://github.com/systemd/systemd systemd
WORKDIR systemd