Răsfoiți Sursa

Additional arm top level menus

Antony Messerli 4 ani în urmă
părinte
comite
e1988b8c5e

+ 1 - 0
roles/netbootxyz/templates/menu/boot.cfg.j2

@@ -65,6 +65,7 @@ goto architectures_end
 :arm64
 set menu_linux 0
 set menu_linux_arm 1
+set menu_unix 0
 set menu_freedos 0
 set menu_live 0
 set menu_live_arm 1

+ 25 - 0
roles/netbootxyz/templates/menu/live-arm.ipxe.j2

@@ -0,0 +1,25 @@
+#!ipxe
+
+goto ${menu} ||
+
+:live_menu
+menu Live Boot Distributions - Current Arch [ ${arch} ]
+iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
+item --gap Live Boot Distributions
+item live-fedora ${space} Fedora
+choose menu || goto live_exit
+echo ${cls}
+goto ${menu} ||
+iseq ${sigs_enabled} true && goto verify_sigs || goto change_menu
+
+:verify_sigs
+imgverify ${menu}.ipxe ${sigs}${menu}.ipxe.sig || goto error
+goto change_menu
+
+:change_menu
+chain ${menu}.ipxe || goto error
+goto live_menu
+
+:live_exit
+clear menu
+exit 0