mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
allow f2fs on /boot
This commit is contained in:
parent
da2c151fac
commit
af337eb37d
2 changed files with 0 additions and 8 deletions
|
@ -114,13 +114,6 @@ _abort_uboot(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
_abort_f2fs_bootpart() {
|
|
||||||
if ${_LSBLK} FSTYPE "${_BOOTDEV}" 2>"${_NO_LOG}" | grep -q "f2fs"; then
|
|
||||||
_dialog --title " ERROR " --no-mouse --infobox "Your selected bootloader cannot boot from f2fs partition with /boot on it." 0 0
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
_abort_bcachefs_bootpart() {
|
_abort_bcachefs_bootpart() {
|
||||||
if ${_LSBLK} FSTYPE "${_BOOTDEV}" 2>"${_NO_LOG}" | grep -q "bcachefs"; then
|
if ${_LSBLK} FSTYPE "${_BOOTDEV}" 2>"${_NO_LOG}" | grep -q "bcachefs"; then
|
||||||
_dialog --title " ERROR " --no-mouse --infobox "Your selected bootloader cannot boot from bcachefs partition with /boot on it." 0 0
|
_dialog --title " ERROR " --no-mouse --infobox "Your selected bootloader cannot boot from bcachefs partition with /boot on it." 0 0
|
||||||
|
|
|
@ -24,7 +24,6 @@ _grub_common_before() {
|
||||||
_FAIL_COMPLEX=""
|
_FAIL_COMPLEX=""
|
||||||
_RAID_ON_LVM=""
|
_RAID_ON_LVM=""
|
||||||
_common_bootloader_checks
|
_common_bootloader_checks
|
||||||
_abort_f2fs_bootpart || return 1
|
|
||||||
_abort_bcachefs_bootpart || return 1
|
_abort_bcachefs_bootpart || return 1
|
||||||
if [[ ! -d "${_DESTDIR}/usr/lib/grub" ]]; then
|
if [[ ! -d "${_DESTDIR}/usr/lib/grub" ]]; then
|
||||||
_PACKAGES="grub"
|
_PACKAGES="grub"
|
||||||
|
|
Loading…
Reference in a new issue