Add drop-in configuration for bootc service override

Create a drop-in to override the ExecStart command for the bootc-fetch-apply-updates service.
This commit is contained in:
humocs-man
2026-04-03 18:03:04 +02:00
committed by GitHub
parent d579d8e135
commit 07e34779e4
+5
View File
@@ -62,6 +62,11 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \ --mount=type=tmpfs,dst=/tmp \
/ctx/build/10-build.sh /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 ### LINTING
## Verify final image and contents are correct. ## Verify final image and contents are correct.
RUN bootc container lint RUN bootc container lint