2
# grub does not work with /boot on xfs. Detect and warn.
4
. /usr/share/debconf/confmodule
6
ARCH="$(udpkg --print-architecture)"
15
get_xfs_root_boot () {
16
(for i in /lib/partman/fstab.d/*; do
17
[ -x "$i" ] || continue
20
while read fs mp type options dump pass; do
21
if [ "$mp" = / ]; then
23
elif [ "$mp" = /boot ]; then
28
eval "$(get_xfs_root_boot)"
30
if [ "$boot_type" = xfs ] || \
31
([ -z "$boot_type" ] && [ "$root_type" = xfs ]); then
32
db_input critical grub-installer/install_to_xfs || true
34
db_get grub-installer/install_to_xfs
35
if [ "$RET" = false ]; then