diff --git a/alis-commons.sh b/alis-commons.sh index c87693a0..eeb75733 100755 --- a/alis-commons.sh +++ b/alis-commons.sh @@ -420,9 +420,12 @@ function partition_device() { } function partition_options() { - PARTITION_OPTIONS_BOOT="defaults,uid=0,gid=0,fmask=0077,dmask=0077" + PARTITION_OPTIONS_BOOT="defaults" PARTITION_OPTIONS="defaults" + if [ BIOS_TYPE == "uefi"]; then + PARTITION_OPTIONS_BOOT="$PARTITION_OPTIONS_BOOT,uid=0,gid=0,fmask=0077,dmask=0077" + fi if [ "$DEVICE_TRIM" == "true" ]; then PARTITION_OPTIONS_BOOT="$PARTITION_OPTIONS_BOOT,noatime" PARTITION_OPTIONS="$PARTITION_OPTIONS,noatime"