From c8d455d46f437acc1cf5b204f8e6c7e41efceaf7ced3b779d30586e374da2c43 Mon Sep 17 00:00:00 2001 From: Michael Chang Date: Thu, 21 Jun 2018 04:25:42 +0000 Subject: [PATCH] Accepting request 618016 from home:jmoellers:branches:Base:System OBS-URL: https://build.opensuse.org/request/show/618016 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=303 --- 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