test/cases: make fedora conditions generic for all versions

To save us some work when updating the tests.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2023-06-06 13:38:31 +02:00 committed by Achilleas Koutsou
parent dda50003cb
commit 3fb55413dc
3 changed files with 10 additions and 35 deletions

View file

@ -106,17 +106,7 @@ KERNEL_RT_PKG="kernel-rt"
SYSROOT_RO="false"
case "${ID}-${VERSION_ID}" in
"fedora-37")
CONTAINER_TYPE=iot-container
INSTALLER_TYPE=iot-installer
OSTREE_REF="fedora/${VERSION_ID}/${ARCH}/iot"
OSTREE_OSNAME=fedora
OS_VARIANT="fedora-unknown"
EMBEDED_CONTAINER="false"
DIRS_FILES_CUSTOMIZATION="true"
SYSROOT_RO="true"
;;
"fedora-38")
fedora-*)
CONTAINER_TYPE=iot-container
INSTALLER_TYPE=iot-installer
OSTREE_REF="fedora/${VERSION_ID}/${ARCH}/iot"