nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0094-No-more-Bootable-Snapshot-submenu-in-grub.cfg.patch

8631a2
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
8631a2
From: Dusty Mabe <dusty@dustymabe.com>
8631a2
Date: Sat, 18 Jul 2015 15:38:08 +0000
8631a2
Subject: [PATCH] No more "Bootable Snapshot" submenu in grub.cfg.
8631a2
8631a2
This breaks grubby (run on kernel upgrades) because grubby just
8631a2
does a search for "menuentry".
8631a2
---
8631a2
 util/grub.d/00_header.in | 12 ------------
8631a2
 1 file changed, 12 deletions(-)
8631a2
8631a2
diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
b32e65
index e2a533001..8a16fea34 100644
8631a2
--- a/util/grub.d/00_header.in
8631a2
+++ b/util/grub.d/00_header.in
8631a2
@@ -366,15 +366,3 @@ fi
8631a2
 if [ "x${GRUB_BADRAM}" != "x" ] ; then
8631a2
   echo "badram ${GRUB_BADRAM}"
8631a2
 fi
8631a2
-
8631a2
-if [ "x${SUSE_BTRFS_SNAPSHOT_BOOTING}" = "xtrue" ] &&
8631a2
-   [ "x${GRUB_FS}" = "xbtrfs" ] ; then
8631a2
-    # Note: No $snapshot_num on *read-only* rollback!  (bsc#901487)
8631a2
-    cat <
8631a2
-if [ -n "\$extra_cmdline" ]; then
8631a2
-  submenu "Bootable snapshot #\$snapshot_num" {
8631a2
-    menuentry "If OK, run 'snapper rollback' and reboot." { true; }
8631a2
-  }
8631a2
-fi
8631a2
-EOF
8631a2
-fi