The branch main has been updated by imp:

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

commit a844bc229e8333e2eb88906a5566c9226ffdc2b2
Author:     Warner Losh <[email protected]>
AuthorDate: 2026-09-24 14:46:06 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2026-09-26 06:43:54 +0000

    boot-test.sh: Add netboot-http-efi test
    
    Using iPXE, chainboot loader.efi with rootdev=http://${next-server}/
    to test the loader's http:// code.
    
    Sponsored by:           Netflix
---
 tools/boot/boot-test.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tools/boot/boot-test.sh b/tools/boot/boot-test.sh
index fd11f1a39f6b..a2149e5da80a 100755
--- a/tools/boot/boot-test.sh
+++ b/tools/boot/boot-test.sh
@@ -1198,6 +1198,15 @@ EOF
 chain tftp://\${next-server}/loader.efi
 EOF
            register_netboot_test netboot-efi ${tftp} /boot-efi.ipxe "" 
qemu_netboot_ramdisk
+
+           # Same idea as netboot-efi, but rootdev= forces currdev to an
+           # http:// URL so the root fetch exercises the loader's own EFI
+           # HTTP devspec (efi/libefi/efihttp.c) instead of tftp/NFS.
+           cat > ${tftp}/boot-http.ipxe <<EOF
+#!ipxe
+chain tftp://\${next-server}/loader.efi rootdev=http://\${next-server}/
+EOF
+           register_netboot_test netboot-http-efi ${tftp} /boot-http.ipxe "" 
qemu_netboot_ramdisk
        fi
 
        cat > ${tftp}/boot.ipxe <<EOF

Reply via email to