From f4d6ec87c859cbdc3fa86e8a78491871c372783f Mon Sep 17 00:00:00 2001 From: Gordon Messmer Date: Tue, 24 Mar 2026 15:02:38 -0700 Subject: [PATCH] 'compose tree' doesn't accept a repo argument, so drop repo handling --- justfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/justfile b/justfile index 0830d8c..254a7cf 100644 --- a/justfile +++ b/justfile @@ -213,20 +213,13 @@ compose-image variant=default_variant: just validate > /dev/null || (echo "Failed manifest validation" && exit 1) - mkdir -p repo cache - if [[ ! -f "repo/config" ]]; then - pushd repo > /dev/null || exit 1 - ostree init --repo . --mode=bare-user - popd > /dev/null || exit 1 - fi - # Set option to reduce fsync for transient builds - ostree --repo=repo config set 'core.fsync' 'false' + mkdir -p cache buildid="$(date '+%Y%m%d.0')" timestamp="$(date --iso-8601=sec)" echo "${buildid}" > .buildid - version="$(rpm-ostree compose tree --print-only --repo=repo ${variant}.yaml | jq -r '."mutate-os-release"')" + version="$(rpm-ostree compose tree --print-only ${variant}.yaml | jq -r '."mutate-os-release"')" echo "Composing ${variant_pretty} ${version}.${buildid} ..." ARGS=(