Handle openbsd and netbsd types being in part_bsd module.
This commit is contained in:
parent
c88172fa92
commit
a21e5672fd
2 changed files with 11 additions and 1 deletions
|
@ -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>
|
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* config.h.in (_LARGEFILE_SOURCE): Add missing define.
|
* config.h.in (_LARGEFILE_SOURCE): Add missing define.
|
||||||
|
|
|
@ -107,7 +107,12 @@ prepare_grub_to_access_device ()
|
||||||
|
|
||||||
partmap="`${grub_probe} --device ${device} --target=partmap`"
|
partmap="`${grub_probe} --device ${device} --target=partmap`"
|
||||||
for module in ${partmap} ; do
|
for module in ${partmap} ; do
|
||||||
echo "insmod part_${module}"
|
case "${module}" in
|
||||||
|
netbsd | openbsd)
|
||||||
|
echo "insmod part_bsd";;
|
||||||
|
*)
|
||||||
|
echo "insmod part_${module}";;
|
||||||
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
fs="`${grub_probe} --device ${device} --target=fs`"
|
fs="`${grub_probe} --device ${device} --target=fs`"
|
||||||
|
|
Loading…
Reference in a new issue