Handle new names in grub-install
This commit is contained in:
parent
5b1d8b4832
commit
208b940054
1 changed files with 6 additions and 1 deletions
|
@ -332,7 +332,12 @@ fi
|
||||||
# filesystem will be accessible).
|
# filesystem will be accessible).
|
||||||
partmap_module=
|
partmap_module=
|
||||||
for x in `$grub_probe --target=partmap --device ${grub_device} 2> /dev/null`; do
|
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
|
done
|
||||||
|
|
||||||
# Device abstraction module, if any (lvm, raid).
|
# Device abstraction module, if any (lvm, raid).
|
||||||
|
|
Loading…
Add table
Reference in a new issue