mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix swap message in autoprepare mode
This commit is contained in:
parent
a624f237a3
commit
2fdc70f04b
1 changed files with 5 additions and 2 deletions
|
@ -1703,8 +1703,11 @@ autoprepare() {
|
|||
DOSUBVOLUME="no"
|
||||
fi
|
||||
BTRFS_LEVEL="NONE"
|
||||
### TODO: SWAP CHECK MISSING
|
||||
DIALOG --infobox "Creating ${FSTYPE} on ${PART}\nwith FSLABEL ${LABEL_NAME} ,\nmounting to ${DESTDIR}${MP}" 0 0
|
||||
if ! [[ "${FSTYPE}" = "swap" ]]; then
|
||||
DIALOG --infobox "Creating ${FSTYPE} on ${PART}\nwith FSLABEL ${LABEL_NAME} ,\nmounting to ${DESTDIR}${MP}" 0 0
|
||||
else
|
||||
DIALOG --infobox "Creating and activating swapspace on ${PART}" 0 0
|
||||
fi
|
||||
_mkfs ${DOMKFS} ${PART} ${FSTYPE} ${DESTDIR} ${MP} ${LABEL_NAME} ${FS_OPTIONS} ${BTRFS_DEVICES} ${BTRFS_LEVEL} ${BTRFS_SUBVOLUME} ${DOSUBVOLUME} ${BTRFS_COMPRESS} || return 1
|
||||
sleep 1
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue