From: H. Peter Anvin Date: Wed, 6 Apr 2016 00:01:33 +0000 (-0700) Subject: x86, build: copy ldlinux.c32 to image.iso X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f1b3c1ace8383a08a258f29be1cbb0b0826e351c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git x86, build: copy ldlinux.c32 to image.iso commit 9c77679cadb118c0aa99e6f88533d91765a131ba upstream. For newer versions of Syslinux, we need ldlinux.c32 in addition to isolinux.bin to reside on the boot disk, so if the latter is found, copy it, too, to the isoimage tree. Signed-off-by: H. Peter Anvin Cc: Linux Stable Tree Signed-off-by: Willy Tarreau --- diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile index 6cf0111783d..368f3582c93 100644 --- a/arch/x86/boot/Makefile +++ b/arch/x86/boot/Makefile @@ -168,6 +168,9 @@ isoimage: $(obj)/bzImage for i in lib lib64 share end ; do \ if [ -f /usr/$$i/syslinux/isolinux.bin ] ; then \ cp /usr/$$i/syslinux/isolinux.bin $(obj)/isoimage ; \ + if [ -f /usr/$$i/syslinux/ldlinux.c32 ]; then \ + cp /usr/$$i/syslinux/ldlinux.c32 $(obj)/isoimage ; \ + fi ; \ break ; \ fi ; \ if [ $$i = end ] ; then exit 1 ; fi ; \