From 15b80ce10efc8bf459dca4aef7ae602e22675f8f Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 6 Jun 2024 07:47:42 +0200 Subject: [PATCH] start adding SWAP file support --- usr/lib/archboot/installer/mountpoints.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/mountpoints.sh b/usr/lib/archboot/installer/mountpoints.sh index e9b86c680..84cd9119a 100644 --- a/usr/lib/archboot/installer/mountpoints.sh +++ b/usr/lib/archboot/installer/mountpoints.sh @@ -76,7 +76,7 @@ _enter_mountpoint() { while [[ -z "${_SWAPFILE_SIZE}" && -n "${_SWAPFILE}" ]]; do _dialog --no-cancel --title " Enter Swap Size in MiB " --inputbox "" 7 65 "16000" 2>"${_ANSWER}" || return 1 _SWAPFILE_SIZE=$(cat "${_ANSWER}") - _FS_OPTIONS="-s ${_SWAPFILE_SIZE}M -F" + _FS_OPTIONS="-s ${_SWAPFILE_SIZE}M --file" done if ! [[ "${_FSTYPE}" == "swap" ]]; then _DOMKFS=1