From c74de0a476398653f142a76178a28111c1dc2572 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 24 Jan 2023 09:43:05 +0100 Subject: [PATCH] add options to check_fstab --- usr/lib/archboot/installer/mountpoints.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/archboot/installer/mountpoints.sh b/usr/lib/archboot/installer/mountpoints.sh index fa6f73df8..6831c9417 100644 --- a/usr/lib/archboot/installer/mountpoints.sh +++ b/usr/lib/archboot/installer/mountpoints.sh @@ -391,10 +391,10 @@ _mkfs() { _GUID_VALUE="$(${_BLKID} -p -i -s PART_ENTRY_TYPE -o value "$(${_LSBLK} NAME,UUID,LABEL,PARTLABEL,PARTUUID | grep "$(echo "${1}" | cut -d"=" -f2)" | cut -d" " -f 1)")" if ! [[ "${_GUID_VALUE}" == "933ac7e1-2eb4-4f13-b844-0e14e2aef915" && "${5}" == "/home" || "${_GUID_VALUE}" == "0657fd6d-a4ab-43c4-84e5-0933c84b4f4f" && "${5}" == "swap" || "${_GUID_VALUE}" == "c12a7328-f81f-11d2-ba4b-00a0c93ec93b" && "${5}" == "/boot" || "${_GUID_VALUE}" == "bc13c2ff-59e6-4262-a352-b275fd6f7172" && "${5}" == "/boot" || "${5}" == "/" ]]; then echo -n "${_DEV} ${5} ${2} defaults 0 " >>/tmp/.fstab - _check_filesystem_fstab + _check_filesystem_fstab $@ fi else echo -n "${_DEV} ${5} ${2} defaults,${_MOUNTOPTIONS} 0 " >>/tmp/.fstab - _check_filesystem_fstab + _check_filesystem_fstab $@ fi }