]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Handle new names in grub-install
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 3 Sep 2010 23:19:11 +0000 (01:19 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 3 Sep 2010 23:19:11 +0000 (01:19 +0200)
util/grub-install.in

index e6521f069e9f7e017571cac94432d46baf54d9f3..02b05136b7ec4508eec603677c8eb6f0f15b9f11 100644 (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).