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:
parent
a58da8c77b
commit
59ade63d27
2 changed files with 9 additions and 0 deletions
|
@ -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>
|
2009-07-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Fix 64-bit efiemu
|
Fix 64-bit efiemu
|
||||||
|
|
|
@ -271,6 +271,8 @@ grub_freebsd_add_meta_module (char *filename, char *type, int argc, char **argv,
|
||||||
name++;
|
name++;
|
||||||
else
|
else
|
||||||
name = filename;
|
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,
|
if (grub_freebsd_add_meta (FREEBSD_MODINFO_NAME, name,
|
||||||
grub_strlen (name) + 1))
|
grub_strlen (name) + 1))
|
||||||
|
|
Loading…
Reference in a new issue