Handle new names in grub-install

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-09-04 01:19:11 +02:00
parent 5b1d8b4832
commit 208b940054

View file

@ -332,7 +332,12 @@ fi
# filesystem will be accessible).
partmap_module=
for x in `$grub_probe --target=partmap --device ${grub_device} 2> /dev/null`; do
partmap_module="$partmap_module part_$x";
case "$x" in
netbsd | openbsd)
partmap_module="$partmap_module part_bsd";;
*)
partmap_module="$partmap_module part_$x";;
esac
done
# Device abstraction module, if any (lvm, raid).