2007-05-01 Robert Millan <rmh@aybabtu.com>
* util/grub-emu.c: Move initialization functions grub_util_biosdisk_init() and grub_init_all() before grub_util_biosdisk_get_grub_dev(), which relies on them.
This commit is contained in:
parent
41f0050ea9
commit
b06a264da4
2 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-05-01 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* util/grub-emu.c: Move initialization functions
|
||||
grub_util_biosdisk_init() and grub_init_all() before
|
||||
grub_util_biosdisk_get_grub_dev(), which relies on them.
|
||||
|
||||
2007-04-19 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* util/powerpc/ieee1275/grub-install.in: Initialize ${bindir}, since
|
||||
|
|
|
@ -182,6 +182,11 @@ main (int argc, char *argv[])
|
|||
sleep (1);
|
||||
}
|
||||
|
||||
/* XXX: This is a bit unportable. */
|
||||
grub_util_biosdisk_init (args.dev_map);
|
||||
|
||||
grub_init_all ();
|
||||
|
||||
/* Make sure that there is a root device. */
|
||||
if (! args.root_dev)
|
||||
{
|
||||
|
@ -199,11 +204,6 @@ main (int argc, char *argv[])
|
|||
sprintf (prefix, "%s%s", args.root_dev, dir);
|
||||
free (dir);
|
||||
|
||||
/* XXX: This is a bit unportable. */
|
||||
grub_util_biosdisk_init (args.dev_map);
|
||||
|
||||
grub_init_all ();
|
||||
|
||||
/* Start GRUB! */
|
||||
if (setjmp (main_env) == 0)
|
||||
grub_main ();
|
||||
|
|
Loading…
Reference in a new issue