]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-setup.c (setup): Remove duplicate call to embed. Fixes
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 2 May 2012 08:09:01 +0000 (10:09 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 2 May 2012 08:09:01 +0000 (10:09 +0200)
crash when embedding onto filesystem.

ChangeLog
util/grub-setup.c

index cf926d70893649f817b2509ac82c0c2758ce8505..dc8698ba44a24a402cd8d8886c7d7b0f2a755e0e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * util/getroot.c (find_root_devices_from_poolname): Handle spaces in the
index 9593957f053c85ac943dacfea802967df5c19409..dad1c15f8fab53972d0759fe57aae51ae1c70611 100644 (file)
@@ -481,8 +481,6 @@ setup (const char *dir,
                          N_("Your embedding area is unusually small.  "
                             "core.img won't fit in it."));
       }
-    err = dest_partmap->embed (dest_dev->disk, &nsec, maxsec,
-                              GRUB_EMBED_PCBIOS, &sectors);
     
     if (err)
       {