mirror of
https://github.com/ipxe/ipxe.git
synced 2026-05-04 20:06:30 +02:00
[build] Add Ubuntu/Debian syslinux mbr.bin search path
On Ubuntu/Debian, syslinux-common installs mbr.bin to /usr/lib/syslinux/mbr/mbr.bin. This path is not currently searched by find_syslinux_file(), causing USB disk image generation to fail with "could not find mbr.bin". Add /usr/lib/syslinux/mbr, /usr/share/syslinux/mbr, and /usr/local/share/syslinux/mbr to the search paths. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
646d4b0a09
commit
6d2f69f55e
@ -124,14 +124,17 @@ find_syslinux_file() {
|
||||
for SRCDIR in \
|
||||
/usr/lib/syslinux \
|
||||
/usr/lib/syslinux/bios \
|
||||
/usr/lib/syslinux/mbr \
|
||||
/usr/lib/syslinux/modules/bios \
|
||||
/usr/share/syslinux \
|
||||
/usr/share/syslinux/bios \
|
||||
/usr/share/syslinux/mbr \
|
||||
/usr/share/syslinux/modules/bios \
|
||||
/usr/local/share/syslinux \
|
||||
/usr/local/share/syslinux/bios \
|
||||
/usr/local/share/syslinux/bios/core \
|
||||
/usr/local/share/syslinux/bios/com32/elflink/ldlinux \
|
||||
/usr/local/share/syslinux/mbr \
|
||||
/usr/local/share/syslinux/modules/bios \
|
||||
/usr/lib/ISOLINUX \
|
||||
; do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user