mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 22:35:28 +00:00
db7cf3a089
Add some fixes for BLS parsing logic and also make 20-grub.install script to query the relative path of the kernel and initramfs images, so BLS can also work when /boot is not a mount point or is a btrfs subvolume. Also pull some build fixes. Resolves: rhbz#1588184 Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
34 lines
1 KiB
Diff
34 lines
1 KiB
Diff
From 741c0651cd54970c08e9c19a82f5805aafbfda23 Mon Sep 17 00:00:00 2001
|
|
From: Dusty Mabe <dusty@dustymabe.com>
|
|
Date: Sat, 18 Jul 2015 15:38:08 +0000
|
|
Subject: [PATCH 179/243] No more "Bootable Snapshot" submenu in grub.cfg.
|
|
|
|
This breaks grubby (run on kernel upgrades) because grubby just
|
|
does a search for "menuentry".
|
|
---
|
|
util/grub.d/00_header.in | 12 ------------
|
|
1 file changed, 12 deletions(-)
|
|
|
|
diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
|
|
index e2a53300126..8a16fea347e 100644
|
|
--- a/util/grub.d/00_header.in
|
|
+++ b/util/grub.d/00_header.in
|
|
@@ -366,15 +366,3 @@ fi
|
|
if [ "x${GRUB_BADRAM}" != "x" ] ; then
|
|
echo "badram ${GRUB_BADRAM}"
|
|
fi
|
|
-
|
|
-if [ "x${SUSE_BTRFS_SNAPSHOT_BOOTING}" = "xtrue" ] &&
|
|
- [ "x${GRUB_FS}" = "xbtrfs" ] ; then
|
|
- # Note: No $snapshot_num on *read-only* rollback! (bsc#901487)
|
|
- cat <<EOF
|
|
-if [ -n "\$extra_cmdline" ]; then
|
|
- submenu "Bootable snapshot #\$snapshot_num" {
|
|
- menuentry "If OK, run 'snapper rollback' and reboot." { true; }
|
|
- }
|
|
-fi
|
|
-EOF
|
|
-fi
|
|
--
|
|
2.17.1
|
|
|