gnu: ipxe: Enable syslinux only on i686-linux and x86_64-linux.
* gnu/packages/bootloaders.scm (ipxe)[native-inputs]: Conditionally add SYSLINUX. [arguments]: Adjust accordingly.
This commit is contained in:
parent
b435f631a6
commit
d15972194a
@ -1555,10 +1555,12 @@ order to add a suitable bootloader menu entry.")
|
|||||||
|
|
||||||
;; cdrtools' mkisofs will silently ignore a missing isolinux.bin!
|
;; cdrtools' mkisofs will silently ignore a missing isolinux.bin!
|
||||||
;; Luckily xorriso is more strict.
|
;; Luckily xorriso is more strict.
|
||||||
(string-append "ISOLINUX_BIN=" syslinux
|
#$@(if (or (target-x86-64?) (target-x86?))
|
||||||
"/share/syslinux/isolinux.bin")
|
'((string-append "ISOLINUX_BIN=" syslinux
|
||||||
(string-append "SYSLINUX_MBR_DISK_PATH=" syslinux
|
"/share/syslinux/isolinux.bin")
|
||||||
"/share/syslinux/isohdpfx.bin")
|
(string-append "SYSLINUX_MBR_DISK_PATH=" syslinux
|
||||||
|
"/share/syslinux/isohdpfx.bin"))
|
||||||
|
'())
|
||||||
|
|
||||||
;; Build reproducibly.
|
;; Build reproducibly.
|
||||||
(string-append "BUILD_ID_CMD=echo -n " (build-id #$output))
|
(string-append "BUILD_ID_CMD=echo -n " (build-id #$output))
|
||||||
@ -1611,7 +1613,11 @@ order to add a suitable bootloader menu entry.")
|
|||||||
(lambda _ (chdir ".."))))
|
(lambda _ (chdir ".."))))
|
||||||
#:tests? #f)) ; no test suite
|
#:tests? #f)) ; no test suite
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list perl syslinux xorriso))
|
(append (if (or (target-x86-64?) (target-x86?))
|
||||||
|
;; Syslinux only supports i686 and x86_64.
|
||||||
|
(list syslinux)
|
||||||
|
'())
|
||||||
|
(list perl xorriso)))
|
||||||
(home-page "https://ipxe.org")
|
(home-page "https://ipxe.org")
|
||||||
(synopsis "PXE-compliant network boot firmware")
|
(synopsis "PXE-compliant network boot firmware")
|
||||||
(description "iPXE is a network boot firmware. It provides a full PXE
|
(description "iPXE is a network boot firmware. It provides a full PXE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user