allow f2fs on /boot

This commit is contained in:
Tobias Powalowski 2024-02-08 20:18:59 +01:00
parent da2c151fac
commit af337eb37d
2 changed files with 0 additions and 8 deletions

View file

@ -114,13 +114,6 @@ _abort_uboot(){
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() {
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

View file

@ -24,7 +24,6 @@ _grub_common_before() {
_FAIL_COMPLEX=""
_RAID_ON_LVM=""
_common_bootloader_checks
_abort_f2fs_bootpart || return 1
_abort_bcachefs_bootpart || return 1
if [[ ! -d "${_DESTDIR}/usr/lib/grub" ]]; then
_PACKAGES="grub"