Fix filesystems test

The new partition rules are in osbuild-composer v94 and higher.
This commit is contained in:
Jakub Rusz 2023-11-20 16:00:42 +01:00 committed by Jakub Rusz
parent 04ba4b81d8
commit 8960a51d2f

View file

@ -181,8 +181,7 @@ mountpoint = "/boot"
size = 131072000
EOF
# Workaround for RHEL-9.3 nightly pipeline
if [[ "$VERSION_ID" != "9.3" ]]; then
if not nvrGreaterOrEqual "osbuild-composer" "94"; then
tee -a "$BLUEPRINT_FILE" > /dev/null << EOF
[[customizations.filesystem]]
@ -290,8 +289,7 @@ mountpoint = "/sysroot"
size = 131072000
EOF
# Workaround for RHEL-9.3 nightly pipeline
if [[ "$VERSION_ID" != "9.3" ]]; then
if not nvrGreaterOrEqual "osbuild-composer" "94"; then
tee -a "$BLUEPRINT_FILE" > /dev/null << EOF
[[customizations.filesystem]]
@ -321,8 +319,7 @@ for MOUNTPOINT in '/etc' '/sys' '/proc' '/dev' '/run' '/bin' '/sbin' '/lib' '/li
fi
done
# Workaround for RHEL-9.3 nightly pipeline
if [[ "$VERSION_ID" != "9.3" ]]; then
if not nvrGreaterOrEqual "osbuild-composer" "94"; then
for MOUNTPOINT in '/usr/bin' '/var/run' '/var/lock'; do
if ! [[ $ERROR_MSG == *"$MOUNTPOINT"* ]]; then
FAILED_MOUNTPOINTS+=("$MOUNTPOINT")