Disable FreeBSD under UEFI

mfsbsd images used by netboot.xyz are for BIOS only.

This is the simplest I could come up with that works across all
supported BSD, platforms and firmwares.
This commit is contained in:
Klemens Nanni 2025-12-14 03:31:05 +03:00
parent bff5a97342
commit 11b2482920
No known key found for this signature in database

View file

@ -10,8 +10,12 @@ menu BSD Installers - Current Arch [ ${arch} ]
item --gap BSD Based Operating Systems
{% for key, value in releases.items() | sort(attribute='1.name') %}
{% if value.enabled is defined and value.menu == "bsd" and value.enabled | bool %}
{% if key == "freebsd" %}
iseq ${platform} efi || item {{ key }} ${space} {{ value.name }}
{% else %}
item {{ key }} ${space} {{ value.name }}
{% endif %}
{% endif %}
{% endfor %}
choose menu || goto bsd_exit