mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
templates: Set defaults using var substitution
Signed-off-by: Ismael Luceno <iluceno@suse.de> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
85961bd92a
commit
fc8768bdc3
2 files changed
+4
-8
No files matched your search
@@ -43,13 +43,11 @@ case ${GRUB_DEVICE} in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "x${GRUB_CMDLINE_LINUX_RECOVERY}" = "x" ] ; then
|
: ${GRUB_CMDLINE_LINUX_RECOVERY:=single}
|
||||||
GRUB_CMDLINE_LINUX_RECOVERY=single
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Default to disabling partition uuid support to maintian compatibility with
|
# Default to disabling partition uuid support to maintian compatibility with
|
||||||
# older kernels.
|
# older kernels.
|
||||||
GRUB_DISABLE_LINUX_PARTUUID=${GRUB_DISABLE_LINUX_PARTUUID-true}
|
: ${GRUB_DISABLE_LINUX_PARTUUID=true}
|
||||||
|
|
||||||
# btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
|
# btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
|
||||||
# and mounting btrfs requires user space scanning, so force UUID in this case.
|
# and mounting btrfs requires user space scanning, so force UUID in this case.
|
||||||
|
|||||||
@@ -43,13 +43,11 @@ case ${GRUB_DEVICE} in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "x${GRUB_CMDLINE_LINUX_RECOVERY}" = "x" ] ; then
|
: ${GRUB_CMDLINE_LINUX_RECOVERY:=single}
|
||||||
GRUB_CMDLINE_LINUX_RECOVERY=single
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Default to disabling partition uuid support to maintian compatibility with
|
# Default to disabling partition uuid support to maintian compatibility with
|
||||||
# older kernels.
|
# older kernels.
|
||||||
GRUB_DISABLE_LINUX_PARTUUID=${GRUB_DISABLE_LINUX_PARTUUID-true}
|
: ${GRUB_DISABLE_LINUX_PARTUUID=true}
|
||||||
|
|
||||||
# btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
|
# btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
|
||||||
# and mounting btrfs requires user space scanning, so force UUID in this case.
|
# and mounting btrfs requires user space scanning, so force UUID in this case.
|
||||||
|
|||||||
Reference in new issue
Block a user