git: 877294a7a770 - main - bsdinstall: allow ZFS root on GPT under UEFI (amd64)

From: Abdelkader Boudih <seuros_at_FreeBSD.org>
Date: Sat, 12 Sep 2026 20:23:18 UTC
The branch main has been updated by seuros:

URL: https://cgit.FreeBSD.org/src/commit/?id=877294a7a770cd01341bdfd7b93b08d6252f2b57

commit 877294a7a770cd01341bdfd7b93b08d6252f2b57
Author:     Abdelkader Boudih <seuros@FreeBSD.org>
AuthorDate: 2026-09-12 20:22:57 +0000
Commit:     Abdelkader Boudih <seuros@FreeBSD.org>
CommitDate: 2026-09-12 20:22:57 +0000

    bsdinstall: allow ZFS root on GPT under UEFI (amd64)
    
    GPT+ZFS+UEFI boots fine, but the manual guided
    wizard prevented it.
    
    MFC after: 3 days
    
    Reviewed by:    imp, adrian
    Differential Revision:  https://reviews.freebsd.org/D59603
---
 usr.sbin/bsdinstall/partedit/partedit_x86.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/usr.sbin/bsdinstall/partedit/partedit_x86.c b/usr.sbin/bsdinstall/partedit/partedit_x86.c
index 6a536271c25e..7a1ace10d1f0 100644
--- a/usr.sbin/bsdinstall/partedit/partedit_x86.c
+++ b/usr.sbin/bsdinstall/partedit/partedit_x86.c
@@ -84,8 +84,7 @@ is_fs_bootable(const char *part_type, const char *fs)
 		return (1);
 
 	if (strcmp(fs, "freebsd-zfs") == 0 &&
-	    strcmp(part_type, "GPT") == 0 &&
-	    strcmp(x86_bootmethod(), "BIOS") == 0)
+	    strcmp(part_type, "GPT") == 0)
 		return (1);
 
 	return (0);