From 07e34779e48517710694c7cfd3c7d0389dfa280b Mon Sep 17 00:00:00 2001 From: humocs-man <251756307+humocs-man@users.noreply.github.com> Date: Fri, 3 Apr 2026 18:03:04 +0200 Subject: [PATCH] Add drop-in configuration for bootc service override Create a drop-in to override the ExecStart command for the bootc-fetch-apply-updates service. --- Containerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Containerfile b/Containerfile index 690db50..7921045 100644 --- a/Containerfile +++ b/Containerfile @@ -62,6 +62,11 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \ --mount=type=tmpfs,dst=/tmp \ /ctx/build/10-build.sh +# Erstelle einen "Drop-in" um den Befehl zu überschreiben +RUN 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 + ### LINTING ## Verify final image and contents are correct. RUN bootc container lint