Fix filesystems test
The new partition rules are in osbuild-composer v94 and higher.
This commit is contained in:
parent
04ba4b81d8
commit
8960a51d2f
1 changed files with 3 additions and 6 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue