From bc7bf1af2db6ae2d65268701e6858be705e81096 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 13 Feb 2025 23:56:54 -0800 Subject: [PATCH] ostree_build: fix for yet another rename in workstation-ostree-config Signed-off-by: Adam Williamson --- tests/_ostree_build.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/_ostree_build.pm b/tests/_ostree_build.pm index 445e579c..82e19ca4 100644 --- a/tests/_ostree_build.pm +++ b/tests/_ostree_build.pm @@ -73,7 +73,9 @@ sub run { # disables updating the ref with the new commit, and we *do* want # to do that. pungi updates the ref itself, I don't want to copy # all that work in here - assert_script_run "rpm-ostree compose tree --unified-core --repo=/var/tmp/ostree/repo/ --add-metadata-string=version=${advortask} --force-nocache /workstation-ostree-config/fedora-$lcsubv.yaml |& ts '" . '[%Y-%m-%d %H:%M:%S]' . "' | tee /tmp/ostree.log", 4500; + my $yaml = "$lcsubv-ostree.yaml"; + $yaml = "fedora-$lcsubv.yaml" if ($version < 41); + assert_script_run "rpm-ostree compose tree --unified-core --repo=/var/tmp/ostree/repo/ --add-metadata-string=version=${advortask} --force-nocache /workstation-ostree-config/$yaml |& ts '" . '[%Y-%m-%d %H:%M:%S]' . "' | tee /tmp/ostree.log", 4500; assert_script_run "set +o pipefail"; upload_logs "/tmp/ostree.log"; # check out the ostree installer lorax templates