grub2/grub2-btrfs-help-on-snapper-rollback.patch

20 lines
735 B
Diff

--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -428,8 +428,14 @@
# 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; }
+ menuentry "Help on bootable snapshot #\$snapshot_num" {
+ echo "Select the default entry of the snapshot boot menu."
+ echo "Examine the snapshot, and if it's OK,"
+ echo " run 'snapper rollback' and reboot."
+ echo "See 'System Rollback by Booting from Snapshots'"
+ echo " in the manual for more information."
+ echo " ** Hit Any Key to return to boot menu ** "
+ read
}
fi
EOF