Hello community,

here is the log from the commit of package grub2 for openSUSE:Factory checked 
in at 2019-09-23 12:00:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grub2 (Old)
 and      /work/SRC/openSUSE:Factory/.grub2.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grub2"

Mon Sep 23 12:00:21 2019 rev:209 rq:730301 version:2.02

Changes:
--------
--- /work/SRC/openSUSE:Factory/grub2/grub2.changes      2019-07-23 
22:32:22.419033347 +0200
+++ /work/SRC/openSUSE:Factory/.grub2.new.7948/grub2.changes    2019-09-23 
12:00:22.501975068 +0200
@@ -1,0 +2,6 @@
+Fri Aug 16 04:51:16 UTC 2019 - Michael Chang <mch...@suse.com>
+
+- Fix fallback embed doesn't work when no post mbr gap at all (boo#1142229)
+  * Refresh grub2-setup-try-fs-embed-if-mbr-gap-too-small.patch
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------

++++++ grub2-setup-try-fs-embed-if-mbr-gap-too-small.patch ++++++
--- /var/tmp/diff_new_pack.Qphmzb/_old  2019-09-23 12:00:25.189974624 +0200
+++ /var/tmp/diff_new_pack.Qphmzb/_new  2019-09-23 12:00:25.189974624 +0200
@@ -1,8 +1,8 @@
-Index: grub-2.02~beta2/util/setup.c
+Index: grub-2.02/util/setup.c
 ===================================================================
---- grub-2.02~beta2.orig/util/setup.c
-+++ grub-2.02~beta2/util/setup.c
-@@ -501,8 +501,42 @@ SETUP (const char *dir,
+--- grub-2.02.orig/util/setup.c
++++ grub-2.02/util/setup.c
+@@ -511,8 +511,42 @@ SETUP (const char *dir,
        err = grub_util_ldm_embed (dest_dev->disk, &nsec, maxsec,
                                 GRUB_EMBED_PCBIOS, &sectors);
      else if (ctx.dest_partmap)
@@ -12,7 +12,7 @@
 +        err = ctx.dest_partmap->embed (dest_dev->disk, &nsec, maxsec,
 +                                     GRUB_EMBED_PCBIOS, &sectors);
 +#ifdef GRUB_SETUP_BIOS
-+        if (err == GRUB_ERR_OUT_OF_RANGE
++        if ((err == GRUB_ERR_OUT_OF_RANGE || err == GRUB_ERR_FILE_NOT_FOUND)
 +            && dest_dev->disk->id == root_dev->disk->id
 +            && dest_dev->disk->dev->id == root_dev->disk->dev->id)
 +          {
@@ -47,7 +47,7 @@
      else
        err = fs->embed (dest_dev, &nsec, maxsec,
                       GRUB_EMBED_PCBIOS, &sectors);
-@@ -584,7 +618,7 @@ SETUP (const char *dir,
+@@ -594,7 +628,7 @@ SETUP (const char *dir,
  
      /* Write the core image onto the disk.  */
      for (i = 0; i < nsec; i++)



Reply via email to