2009-07-16 Vladimir Serbinenko <phcoder@gmail.com>

Make FreeBSD accept zpool.cache

	* loader/i386/bsd.c (grub_freebsd_add_meta_module): spoof filename if
	type is /boot/zfs/zpool.cache
This commit is contained in:
phcoder 2009-07-15 22:51:47 +00:00
parent a58da8c77b
commit 59ade63d27
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2009-07-16 Vladimir Serbinenko <phcoder@gmail.com>
Make FreeBSD accept zpool.cache
* loader/i386/bsd.c (grub_freebsd_add_meta_module): spoof filename if
type is /boot/zfs/zpool.cache
2009-07-16 Vladimir Serbinenko <phcoder@gmail.com>
Fix 64-bit efiemu

View file

@ -271,6 +271,8 @@ grub_freebsd_add_meta_module (char *filename, char *type, int argc, char **argv,
name++;
else
name = filename;
if (grub_strcmp (type, "/boot/zfs/zpool.cache") == 0)
name = "/boot/zfs/zpool.cache";
if (grub_freebsd_add_meta (FREEBSD_MODINFO_NAME, name,
grub_strlen (name) + 1))