From a5083a196e808fc04781c7d627d9d33e43396397bdb3db8da785f0e101fdc6f7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 25 Jun 2018 09:33:36 +0000 Subject: [PATCH] Accepting request 618170 from Base:System OBS-URL: https://build.opensuse.org/request/show/618170 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=186 --- grub2-btrfs-help-on-snapper-rollback.patch | 21 +++++++++++++++++++++ grub2.changes | 13 +++++++++++++ grub2.spec | 2 ++ 3 files changed, 36 insertions(+) create mode 100644 grub2-btrfs-help-on-snapper-rollback.patch diff --git a/grub2-btrfs-help-on-snapper-rollback.patch b/grub2-btrfs-help-on-snapper-rollback.patch new file mode 100644 index 0000000..f6e0f9e --- /dev/null +++ b/grub2-btrfs-help-on-snapper-rollback.patch @@ -0,0 +1,21 @@ +Index: grub-2.02/util/grub.d/00_header.in +=================================================================== +--- grub-2.02.orig/util/grub.d/00_header.in ++++ grub-2.02/util/grub.d/00_header.in +@@ -417,8 +417,14 @@ if [ "x${SUSE_BTRFS_SNAPSHOT_BOOTING}" = + # Note: No $snapshot_num on *read-only* rollback! (bsc#901487) + cat <= 1140 @@ -562,6 +563,7 @@ swap partition while in resuming %patch430 -p1 %patch431 -p1 %patch500 -p1 +%patch501 -p1 %build # patches above may update the timestamp of grub.texi