mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
start adding SWAP file support
This commit is contained in:
parent
f8751419cd
commit
15b80ce10e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue