Warn about Syslinux's reboot.c32 and poweroff.c32 requiring APM

configs/releng/syslinux/archiso_tail.cfg:
APM is old and some motherboard firmwares have removed support for it.
reboot.c32 and poweroff.c32 will not work on such firmwares.
Add a help text to "Reboot" and "Power Off" boot menu entries that warns about requiring APM.
This commit is contained in:
nl6720 2020-07-04 19:13:46 +03:00
parent fda96ac8dd
commit 9f3c69ee08
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369

View File

@ -19,9 +19,17 @@ COM32 boot/syslinux/hdt.c32
APPEND modules_alias=boot/syslinux/hdt/modalias.gz pciids=boot/syslinux/hdt/pciids.gz APPEND modules_alias=boot/syslinux/hdt/modalias.gz pciids=boot/syslinux/hdt/pciids.gz
LABEL reboot LABEL reboot
TEXT HELP
Reboot computer.
The computer's firmware must support APM.
ENDTEXT
MENU LABEL Reboot MENU LABEL Reboot
COM32 boot/syslinux/reboot.c32 COM32 boot/syslinux/reboot.c32
LABEL poweroff LABEL poweroff
TEXT HELP
Power off computer.
The computer's firmware must support APM.
ENDTEXT
MENU LABEL Power Off MENU LABEL Power Off
COM32 boot/syslinux/poweroff.c32 COM32 boot/syslinux/poweroff.c32