View | Details | Raw Unified | Return to bug 44387
Collapse All | Expand All

(-)a/grub-2.04-os-alt.patch (-2 / +1 lines)
Lines 174-180 index 4532266be..cd87856f5 100644 Link Here
174
-    linux_entry "${OS}" "${version}" recovery \
174
-    linux_entry "${OS}" "${version}" recovery \
175
-                "single ${GRUB_CMDLINE_LINUX}"
175
-                "single ${GRUB_CMDLINE_LINUX}"
176
+      "${GRUB_CMDLINE_LINUX_DEFAULT}" $default
176
+      "${GRUB_CMDLINE_LINUX_DEFAULT}" $default
177
+  if [ "x${GRUB_DISABLE_LINUX_RECOVERY}" != "xtrue" ] && [ "x${GRUB_VMLINUZ_FAILSAFE}" != "xno" ] && [ "x${GRUB_VMLINUZ_FAILSAFE}" != "xfalse" ]; then
177
+  if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ] && [ "x${GRUB_VMLINUZ_FAILSAFE}" != "xno" ] && [ "x${GRUB_VMLINUZ_FAILSAFE}" != "xfalse" ]; then
178
+    if [ $linux = "/boot/vmlinuz" ] || [ "x${GRUB_VMLINUZ_FAILSAFE}" != "xdefault" ]; then
178
+    if [ $linux = "/boot/vmlinuz" ] || [ "x${GRUB_VMLINUZ_FAILSAFE}" != "xdefault" ]; then
179
+      linux_entry "${OS}" "${version}" recovery \
179
+      linux_entry "${OS}" "${version}" recovery \
180
+               "${GRUB_CMDLINE_LINUX}" $default
180
+               "${GRUB_CMDLINE_LINUX}" $default
181
- 

Return to bug 44387