Date: Wednesday, November 27, 2013 @ 17:25:16 Author: tpowa Revision: 200385
upgpkg: syslinux 6.02-7 fix isolinux boot issues Added: syslinux/trunk/syslinux-6.02-fix-bios-isolinux.patch Modified: syslinux/trunk/PKGBUILD ---------------------------------------+ PKGBUILD | 13 ++++++++++--- syslinux-6.02-fix-bios-isolinux.patch | 12 ++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-11-27 15:53:02 UTC (rev 200384) +++ PKGBUILD 2013-11-27 16:25:16 UTC (rev 200385) @@ -4,7 +4,7 @@ pkgname="syslinux" pkgver="6.02" -pkgrel="6" +pkgrel="7" arch=('x86_64' 'i686') pkgdesc="Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE" url="http://syslinux.zytor.com/" @@ -24,12 +24,15 @@ source=("https://www.kernel.org/pub/linux/utils/boot/syslinux/${pkgname}-${pkgver}.tar.xz" 'syslinux.cfg' 'syslinux-install_update' - 'syslinux-6.02-fix-chainloading.patch') + 'syslinux-6.02-fix-chainloading.patch' + 'syslinux-6.02-fix-bios-isolinux.patch') md5sums=('6f275813a1b08cf852e55c0a3f8fbc78' '46ca150f53322ff8f1597d9a342f7e40' '9376f18fa3e42fc36cffa4cff0a84c09' - '9dbede6b71a4de9e46aac4aad65334d7') + '9dbede6b71a4de9e46aac4aad65334d7' + 'adf71eceb4fccecd9a7efe1ab3d54918') + prepare() { cd "${srcdir}/${pkgname}-${pkgver}/" @@ -50,6 +53,10 @@ # http://www.syslinux.org/archives/2013-October/020971.html patch -Np1 -i "${srcdir}/syslinux-6.02-fix-chainloading.patch" + # fix bios booting from isohybrid + # http://www.syslinux.org/archives/2013-November/021189.html + patch -Np1 -i "${srcdir}/syslinux-6.02-fix-bios-isolinux.patch" + } _build_syslinux_bios() { Added: syslinux-6.02-fix-bios-isolinux.patch =================================================================== --- syslinux-6.02-fix-bios-isolinux.patch (rev 0) +++ syslinux-6.02-fix-bios-isolinux.patch 2013-11-27 16:25:16 UTC (rev 200385) @@ -0,0 +1,12 @@ +diff --git a/core/isolinux.asm b/core/isolinux.asm +index bd4e9556922d..c4db4133e274 100644 +--- a/core/isolinux.asm ++++ b/core/isolinux.asm +@@ -420,7 +420,7 @@ MaxLMA equ 384*1024 ; Reasonable limit (384K) + call getlinsec + pop eax + pop cx +- mov dx,cx ++ movzx edx,cx + pop bp + pop bx