]> git.proxmox.com Git - grub2.git/commit
templates: Update grub script template files
authorNicholas Vinson <nvinson234@gmail.com>
Tue, 17 Apr 2018 05:36:26 +0000 (22:36 -0700)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 23 Apr 2018 11:31:02 +0000 (13:31 +0200)
commit51be3372ec8ba07ef68a409956ea0eefa89fe7c5
tree7908772468d67f562ec185b282c8534ea2c0ee66
parent0c0bcffc2378f7427f14f7f878b08ba8f1a1f508
templates: Update grub script template files

Update grub-mkconfig.in and 10_linux.in to support grub-probe's new
partuuid target.  Update grub.texi documentation.  The following table
shows how GRUB_DISABLE_LINUX_UUID, GRUB_DISABLE_LINUX_PARTUUID, and
initramfs detection interact:

Initramfs  GRUB_DISABLE_LINUX_PARTUUID  GRUB_DISABLE_LINUX_UUID  Linux Root
detected   Set                          Set                      ID Method

false      false                        false                    part UUID
false      false                        true                     part UUID
false      true                         false                    dev name
false      true                         true                     dev name
true       false                        false                    fs UUID
true       false                        true                     part UUID
true       true                         false                    fs UUID
true       true                         true                     dev name

Note: GRUB_DISABLE_LINUX_PARTUUID and GRUB_DISABLE_LINUX_UUID equate to
      'false' when unset or set to any value other than 'true'.
      GRUB_DISABLE_LINUX_PARTUUID defaults to 'true'.

Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
docs/grub.texi
util/grub-mkconfig.in
util/grub.d/10_linux.in
util/grub.d/20_linux_xen.in