From d267037f0c19a4f2e6e5ff154113ed3a50badda6 Mon Sep 17 00:00:00 2001 From: Joshua Seiger-Eatwell Date: Sat, 11 Jan 2025 14:21:01 +0100 Subject: [PATCH] added override to update services, so it does not reboot when updating --- Containerfile | 4 +++- .../system/bootc-fetch-apply-updates.service.d/override.conf | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 etc/systemd/system/bootc-fetch-apply-updates.service.d/override.conf diff --git a/Containerfile b/Containerfile index 1c81152..541f3ca 100644 --- a/Containerfile +++ b/Containerfile @@ -2,8 +2,10 @@ ARG FEDORA_MAJOR_VERSION=41 FROM quay.io/fedora-ostree-desktops/silverblue:${FEDORA_MAJOR_VERSION} +COPY etc etc + RUN dnf install vim ncdu -y && \ dnf remove firefox firefox-langpacks -y && \ systemctl enable bootc-fetch-apply-updates.timer && \ ostree container commit && \ - bootc container lint \ No newline at end of file + bootc container lint diff --git a/etc/systemd/system/bootc-fetch-apply-updates.service.d/override.conf b/etc/systemd/system/bootc-fetch-apply-updates.service.d/override.conf new file mode 100644 index 0000000..5d9603b --- /dev/null +++ b/etc/systemd/system/bootc-fetch-apply-updates.service.d/override.conf @@ -0,0 +1,2 @@ +[Service] +ExecStart=/usr/bin/bootc update --quiet