From 2c5cf67014f3c755c2f1b42794f804388a64e35c Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sat, 16 Nov 2024 20:18:31 -0500 Subject: kiwi-build: Update to mimic production builds more closely Production builds in Fedora have a couple extra features: * ISOs have custom overrides to set the correct volume/app IDs * Image filenames are structured to follow roughly NVRA format Now we support these features with extra helper scripts. If a "image release" value is passed in, then we fully mimic the production image build process. This will be particularly useful for making respins of Fedora images with updates applied. --- tmt/tests/build-image.fmf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tmt/tests') diff --git a/tmt/tests/build-image.fmf b/tmt/tests/build-image.fmf index f8003f5..48e72bb 100644 --- a/tmt/tests/build-image.fmf +++ b/tmt/tests/build-image.fmf @@ -9,6 +9,5 @@ require: framework: shell path: / test: | - ./kiwi-build --debug --image-type="$image_type" --image-profile="$image_profile" --kiwi-description-dir="${TMT_TREE}" --kiwi-file="$kiwi_file" --output-dir="${TMT_TEST_DATA}" - rm -rf "${TMT_TEST_DATA}/build/image-root" + ./kiwi-build --debug --image-type="$image_type" --image-profile="$image_profile" --kiwi-description-dir="${TMT_TREE}" --kiwi-file="$kiwi_file" --output-dir="${TMT_TEST_DATA}" --image-release="$(date --utc +'%Y%m%d.%H%M')" duration: 60m -- cgit v1.3.1+13