diff --git a/dockerfile/anaconda-ci/Dockerfile b/dockerfile/anaconda-ci/Dockerfile index 3b0990d91d2..ff56aa2d052 100644 --- a/dockerfile/anaconda-ci/Dockerfile +++ b/dockerfile/anaconda-ci/Dockerfile @@ -30,6 +30,10 @@ LABEL maintainer=anaconda-devel@lists.fedoraproject.org # the build is invoked by Makefile. COPY ["anaconda.spec.in", "requirements.txt", "/root/"] +# Replace standalone systemd package with systemd as these are conflicting +RUN set -ex; \ + dnf swap -y systemd-standalone-sysusers systemd + # Prepare environment and install build dependencies RUN set -ex; \ # disable fedora-cisco repository otherwise freerdp will depend on openh264 from fedora-cisco diff --git a/dockerfile/anaconda-iso-creator/Dockerfile b/dockerfile/anaconda-iso-creator/Dockerfile index 25e2b09c73f..11506a9bb96 100644 --- a/dockerfile/anaconda-iso-creator/Dockerfile +++ b/dockerfile/anaconda-iso-creator/Dockerfile @@ -30,6 +30,10 @@ FROM ${image} # see https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact LABEL maintainer=anaconda-devel@lists.fedoraproject.org +# Replace standalone systemd package with systemd as these are conflicting +RUN set -ex; \ + dnf swap -y systemd-standalone-sysusers systemd + # Prepare environment and install build dependencies RUN set -ex; \ dnf update -y; \ diff --git a/dockerfile/anaconda-rpm/Dockerfile b/dockerfile/anaconda-rpm/Dockerfile index c626520baa4..3ba26bc49d4 100644 --- a/dockerfile/anaconda-rpm/Dockerfile +++ b/dockerfile/anaconda-rpm/Dockerfile @@ -25,6 +25,10 @@ LABEL maintainer=anaconda-devel@lists.fedoraproject.org # the build is invoked by Makefile. COPY ["anaconda.spec.in", "/root/"] +# Replace standalone systemd package with systemd as these are conflicting +RUN set -ex; \ + dnf swap -y systemd-standalone-sysusers systemd + # Prepare environment and install build dependencies RUN set -ex; \ # disable fedora-cisco repository otherwise freerdp will depend on openh264 from fedora-cisco