]> git.ipfire.org Git - thirdparty/grub.git/commit
tests/util/grub-shell-luks-tester: Find cryptodisk by UUID
authorGlenn Washburn <development@efficientek.com>
Thu, 6 Mar 2025 06:18:43 +0000 (00:18 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 26 Mar 2025 13:08:49 +0000 (14:08 +0100)
commitbb6d3199b384d400fb87bf96dfddb95f5e6b08b5
tree24d496e0c48a27a02a8277631577e37c435aedc4
parent3fd163e453b577b6728babe80f8f77c981a67b08
tests/util/grub-shell-luks-tester: Find cryptodisk by UUID

GRUB has the capability to search all the disks for a cryptodisk of a
given UUID. Use this instead of hardcoding which disk is the cryptodisk,
which can change when devices are added or removed, or potentially when
QEMU is upgraded. This can not be done for the detached header tests
because the header contains the UUID.

Also, capitalize comment lines for consistency.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-shell-luks-tester.in