aboutsummaryrefslogtreecommitdiff
path: root/tmt/tests
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2024-11-16 20:18:31 -0500
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2024-11-16 20:18:31 -0500
commit2c5cf67014f3c755c2f1b42794f804388a64e35c (patch)
tree897fbe1fefe470914607d5731ddcf29a2a3225f2 /tmt/tests
parent400c842f0a85a87d767f736f153d607d07cf1311 (diff)
downloadkiwi-descriptions-2c5cf67014f3c755c2f1b42794f804388a64e35c.tar.gz
kiwi-descriptions-2c5cf67014f3c755c2f1b42794f804388a64e35c.zip
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.
Diffstat (limited to 'tmt/tests')
-rw-r--r--tmt/tests/build-image.fmf3
1 files changed, 1 insertions, 2 deletions
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