mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
merge swap into mountpoints
This commit is contained in:
parent
2a712269f2
commit
bb688acadc
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ _mountpoints() {
|
|||
_clear_fs_values
|
||||
_check_btrfs_filesystem_creation
|
||||
[[ ! "${_DEV}" == "NONE" ]] && _FSTYPE="$(${_LSBLK} FSTYPE "${_DEV}")"
|
||||
if [[ -n ${_DO_SWAP} && "${_FSTYPE}" == "swap" ]]; then
|
||||
if [[ -n ${_DO_SWAP} && "${_FSTYPE}" == "swap" || "${_DEV}" == "NONE" ]]; then
|
||||
_SKIP_FILESYSTEM=1
|
||||
fi
|
||||
# reformat device, if already swap partition format
|
||||
|
|
Loading…
Reference in a new issue