mirror of
https://github.com/ipxe/ipxe
synced 2026-05-08 15:02:55 +03:00
9250a9091b
In the spirit of util/genfsimg, create a script util/gensrvimg that can be used to install compiled iPXE binaries to a directory tree suitable for copying to a TFTP or HTTP server. The script detects the CPU architecture for each input file and installs it into the appropriate subdirectory. Top-level symlinks are created for each filename, with earlier files taking precedence. Signed binaries are detected and automatically placed into a Secure Boot specific subdirectory, thereby allowing the reduced-feature Secure Boot binaries to coexist with full-feature binaries in a single installation directory tree. An iPXE shim may be specified and will be automatically installed alongside the signed binaries, with the relevant symlink created for each signed binary. Signed-off-by: Michael Brown <mcb30@ipxe.org>