Handle openbsd and netbsd types being in part_bsd module.

This commit is contained in:
Grégoire Sutre 2011-01-09 23:23:25 +01:00
parent c88172fa92
commit a21e5672fd
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-01-09 Grégoire Sutre <gregoire.sutre@gmail.com>
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Handle
openbsd and netbsd types being in part_bsd module.
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
* config.h.in (_LARGEFILE_SOURCE): Add missing define.

View File

@ -107,7 +107,12 @@ prepare_grub_to_access_device ()
partmap="`${grub_probe} --device ${device} --target=partmap`"
for module in ${partmap} ; do
echo "insmod part_${module}"
case "${module}" in
netbsd | openbsd)
echo "insmod part_bsd";;
*)
echo "insmod part_${module}";;
esac
done
fs="`${grub_probe} --device ${device} --target=fs`"