Fix a boolean condition in filesystem.sh
This commit is contained in:
parent
bbb685e9a3
commit
ba2f5a7ecb
1 changed files with 3 additions and 3 deletions
|
|
@ -181,7 +181,7 @@ mountpoint = "/boot"
|
||||||
size = 131072000
|
size = 131072000
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if not nvrGreaterOrEqual "osbuild-composer" "94"; then
|
if ! nvrGreaterOrEqual "osbuild-composer" "94"; then
|
||||||
tee -a "$BLUEPRINT_FILE" > /dev/null << EOF
|
tee -a "$BLUEPRINT_FILE" > /dev/null << EOF
|
||||||
|
|
||||||
[[customizations.filesystem]]
|
[[customizations.filesystem]]
|
||||||
|
|
@ -289,7 +289,7 @@ mountpoint = "/sysroot"
|
||||||
size = 131072000
|
size = 131072000
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if not nvrGreaterOrEqual "osbuild-composer" "94"; then
|
if ! nvrGreaterOrEqual "osbuild-composer" "94"; then
|
||||||
tee -a "$BLUEPRINT_FILE" > /dev/null << EOF
|
tee -a "$BLUEPRINT_FILE" > /dev/null << EOF
|
||||||
|
|
||||||
[[customizations.filesystem]]
|
[[customizations.filesystem]]
|
||||||
|
|
@ -319,7 +319,7 @@ for MOUNTPOINT in '/etc' '/sys' '/proc' '/dev' '/run' '/bin' '/sbin' '/lib' '/li
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if not nvrGreaterOrEqual "osbuild-composer" "94"; then
|
if ! nvrGreaterOrEqual "osbuild-composer" "94"; then
|
||||||
for MOUNTPOINT in '/usr/bin' '/var/run' '/var/lock'; do
|
for MOUNTPOINT in '/usr/bin' '/var/run' '/var/lock'; do
|
||||||
if ! [[ $ERROR_MSG == *"$MOUNTPOINT"* ]]; then
|
if ! [[ $ERROR_MSG == *"$MOUNTPOINT"* ]]; then
|
||||||
FAILED_MOUNTPOINTS+=("$MOUNTPOINT")
|
FAILED_MOUNTPOINTS+=("$MOUNTPOINT")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue