grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 7/9] partmap_test: Accept hd1 on arm-efi


From: Vladimir Serbinenko
Subject: [PATCH 7/9] partmap_test: Accept hd1 on arm-efi
Date: Wed, 11 Sep 2024 12:37:33 +0300

Whether it's hd1 or hd2 depends on firmware. Just accept both variants.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
---
 tests/partmap_test.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/partmap_test.in b/tests/partmap_test.in
index 4138e88fe..d67ad100f 100644
--- a/tests/partmap_test.in
+++ b/tests/partmap_test.in
@@ -91,7 +91,7 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
        disk=arc/scsi0/disk0/rdisk0
        ;;
     arm*-efi)
-       disk=hd2
+       disk=hd[12]
        ;;
     *)
        disk=hd0
-- 
2.39.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]