* util/grub-setup.c (setup): Remove duplicate call to embed. Fixes
crash when embedding onto filesystem.
This commit is contained in:
parent
bcb288ed17
commit
8db10f47fe
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-05-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub-setup.c (setup): Remove duplicate call to embed. Fixes
|
||||||
|
crash when embedding onto filesystem.
|
||||||
|
|
||||||
2012-05-02 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-05-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/getroot.c (find_root_devices_from_poolname): Handle spaces in the
|
* util/getroot.c (find_root_devices_from_poolname): Handle spaces in the
|
||||||
|
|
|
@ -481,8 +481,6 @@ setup (const char *dir,
|
||||||
N_("Your embedding area is unusually small. "
|
N_("Your embedding area is unusually small. "
|
||||||
"core.img won't fit in it."));
|
"core.img won't fit in it."));
|
||||||
}
|
}
|
||||||
err = dest_partmap->embed (dest_dev->disk, &nsec, maxsec,
|
|
||||||
GRUB_EMBED_PCBIOS, §ors);
|
|
||||||
|
|
||||||
if (err)
|
if (err)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue