* util/grub.d/10_kfreebsd.in: Allow ufs.ko to be missing as it's

per default compiled in kernel and prior to 8.0 isn't shipped at all.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-03-29 12:01:48 +02:00
parent b4db4f39f0
commit a307c0b206
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub.d/10_kfreebsd.in: Allow ufs.ko to be missing as it's
per default compiled in kernel and prior to 8.0 isn't shipped at all.
2011-03-29 Colin Watson <cjwatson@ubuntu.com>
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): If

View file

@ -110,7 +110,11 @@ EOF
;;
esac
load_kfreebsd_module ${kfreebsd_fs} false
if [ x${kfreebsd_fs} = xufs ]; then
load_kfreebsd_module ${kfreebsd_fs} true
else
load_kfreebsd_module ${kfreebsd_fs} false
fi
cat << EOF
set kFreeBSD.vfs.root.mountfrom=${kfreebsd_fs}:${kfreebsd_device}