diff --git a/grub2-btrfs-05-grub2-mkconfig.patch b/grub2-btrfs-05-grub2-mkconfig.patch index 3e0bfa1..2a7a417 100644 --- a/grub2-btrfs-05-grub2-mkconfig.patch +++ b/grub2-btrfs-05-grub2-mkconfig.patch @@ -52,17 +52,18 @@ Index: grub-2.02~beta2/util/grub.d/00_header.in load_env fi -@@ -367,3 +377,14 @@ fi +@@ -367,3 +377,15 @@ 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 </dev/null || true` -@@ -230,7 +234,12 @@ while [ "x$list" != "x" ] ; do +@@ -237,7 +241,12 @@ while [ "x$list" != "x" ] ; do if [ $PLATFORM != "emu" ]; then hotkey=0 else diff --git a/grub2.changes b/grub2.changes index cb16503..1870522 100644 --- a/grub2.changes +++ b/grub2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 31 03:55:32 UTC 2015 - mchang@suse.com + +- fix for 'rollback' hint (bsc#901487) + * modified grub2-btrfs-05-grub2-mkconfig.patch: + ------------------------------------------------------------------- Fri Jul 17 08:44:24 UTC 2015 - mchang@suse.com