grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 1/2] grub-install: Add missing points of no return for IEEE127


From: Ismael Luceno
Subject: [PATCH v2 1/2] grub-install: Add missing points of no return for IEEE1275 on i386/powerpc
Date: Mon, 29 Aug 2022 16:36:24 +0200

Signed-off-by: Ismael Luceno <iluceno@suse.de>
---
 util/grub-install.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/util/grub-install.c b/util/grub-install.c
index 7b04bd3c534b..527b85e27aa7 100644
--- a/util/grub-install.c
+++ b/util/grub-install.c
@@ -1835,6 +1835,7 @@ main (int argc, char *argv[])
            {
              if (write_to_disk (ins_dev, imgfile))
                grub_util_error ("%s", _("failed to copy Grub to the PReP 
partition"));
+             grub_set_install_backup_ponr ();
            }
          else
            {
@@ -1859,6 +1860,7 @@ main (int argc, char *argv[])
          partno = grub_dev->disk->partition
            ? grub_dev->disk->partition->number + 1 : 0;
          dev = grub_util_get_os_disk (grub_devices[0]);
+         grub_set_install_backup_ponr ();
          grub_install_register_ieee1275 (0, dev,
                                          partno, relpath);
        }
-- 
2.37.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]