From 741ec811dfcf3fbc8ac257ba136deaf50bec0b04 Mon Sep 17 00:00:00 2001 From: Gerald Pinder Date: Mon, 23 Sep 2024 12:01:46 -0400 Subject: [PATCH] fix: May not be possible to just install bootc, run bootupctl if bootc already exists --- scripts/post_build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/post_build.sh b/scripts/post_build.sh index 5099089..cf67a9f 100644 --- a/scripts/post_build.sh +++ b/scripts/post_build.sh @@ -2,10 +2,9 @@ set -euo pipefail -if ! command -v bootc; then - rpm-ostree install bootc +if command -v bootc; then + bootupctl backend generate-update-metadata fi -bootupctl backend generate-update-metadata rm -fr /tmp/* /var/* ostree container commit