diff --git a/Containerfile b/Containerfile index c820ff2..b2cb5ee 100644 --- a/Containerfile +++ b/Containerfile @@ -67,10 +67,8 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \ # Dies stellt sicher, dass /var/lib/dnf und /var/lib/rpm beim Booten sauber existieren. RUN mkdir -p /etc/tmpfiles.d/ && \ echo "d /var/lib/dnf 0755 root root -" > /etc/tmpfiles.d/bootc-fix.conf && \ - echo "d /var/lib/rpm 0755 root root -" >> /etc/tmpfiles.d/bootc-fix.conf - -# Erstelle einen "Drop-in" um den Befehl zu überschreiben -RUN mkdir -p /etc/systemd/system/bootc-fetch-apply-updates.service.d/ && \ + echo "d /var/lib/rpm 0755 root root -" >> /etc/tmpfiles.d/bootc-fix.conf && \ + mkdir -p /etc/systemd/system/bootc-fetch-apply-updates.service.d/ && \ echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/bootc upgrade --staged --quiet" > \ /etc/systemd/system/bootc-fetch-apply-updates.service.d/override.conf