grub2/grub2-btrfs-help-on-snapper-rollback.patch
Michael Chang de8c74037b Accepting request 1188943 from home:michael-chang:branches:Base:System
- Fix error in grub-install when root is on tmpfs (bsc#1226100)
    * 0001-grub-install-bailout-root-device-probing.patch
- Fix incorrect Platform tag in rpm header (bsc#1217967)

OBS-URL: https://build.opensuse.org/request/show/1188943
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=508
2024-07-22 08:21:46 +00:00

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