]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fmf: Allow overriding the mkosi distribution and release used
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 19 Mar 2025 11:52:36 +0000 (12:52 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Mar 2025 08:24:07 +0000 (09:24 +0100)
test/fmf/integration-tests/test.sh

index f59ab9a97f233f388bd0ed5d13a6a54d99af6591..bdde6031cf1503f03113649d86c048e5a2ae90ed 100755 (executable)
@@ -47,16 +47,16 @@ export PATH="$PWD/mkosi/bin:$PATH"
 
 tee mkosi.local.conf <<EOF
 [Distribution]
-Distribution=$ID
-Release=${VERSION_ID:-rawhide}
+Distribution=${MKOSI_DISTRIBUTION:-$ID}
+Release=${MKOSI_RELEASE:-${VERSION_ID:-rawhide}}
 
 [Content]
 PackageDirectories=..
 SELinuxRelabel=yes
 
 [Build]
-ToolsTreeDistribution=$ID
-ToolsTreeRelease=${VERSION_ID:-rawhide}
+ToolsTreeDistribution=${MKOSI_DISTRIBUTION:-$ID}
+ToolsTreeRelease=${MKOSI_RELEASE:-${VERSION_ID:-rawhide}}
 Environment=NO_BUILD=1
 WithTests=yes
 EOF