wok rev 19516

syslinux/iso2exe: vm86 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 22 22:17:33 2016 +0100 (2016-11-22)
parents bb42796dcd3b
children cd2fc3c3b59b
files syslinux/receipt syslinux/stuff/iso2exe/Makefile syslinux/stuff/iso2exe/README
line diff
     1.1 --- a/syslinux/receipt	Tue Nov 22 21:19:01 2016 +0100
     1.2 +++ b/syslinux/receipt	Tue Nov 22 22:17:33 2016 +0100
     1.3 @@ -9,12 +9,13 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     1.5  WEB_SITE="http://syslinux.zytor.com/"
     1.6  WGET_URL="https://www.kernel.org/pub/linux/utils/boot/syslinux/$TARBALL"
     1.7 +LINLD="$WOK/linld/source"
     1.8  CONFIG_FILES="/boot/isolinux/*.cfg /boot/isolinux/kbd"
     1.9  TAGS="boot"
    1.10  
    1.11  DEPENDS="ipxe memtest"
    1.12  BUILD_DEPENDS="wget kbd-base perl nasm dev86 lzma mingw32-gcc upx posixovl \
    1.13 -util-linux-uuid-dev advancecomp libidn"
    1.14 +util-linux-uuid-dev advancecomp libidn linld"
    1.15  
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  compile_rules()
    1.18 @@ -44,6 +45,7 @@
    1.19  			$i > kbd/$(basename $i .map.gz)
    1.20  	done
    1.21  	cp -a $stuff/iso2exe .
    1.22 +	cp $LINLD/*/tazboot.com iso2exe/boot.com
    1.23  	make -C iso2exe
    1.24  }
    1.25  
    1.26 @@ -51,6 +53,7 @@
    1.27  genpkg_rules()
    1.28  {
    1.29  	mkdir -p $fs/boot/isolinux
    1.30 +	cp $LINLD/*/linld.com $fs/boot
    1.31  	cp -a $src/core/isolinux.bin $fs/boot/isolinux
    1.32  	lzma e $src/com32/modules/md5sum.c32 $fs/boot/isolinux/c32box.c32
    1.33  	lzma e $src/com32/menu/vesamenu.c32 $fs/boot/isolinux/vesamenu.c32
     2.1 --- a/syslinux/stuff/iso2exe/Makefile	Tue Nov 22 21:19:01 2016 +0100
     2.2 +++ b/syslinux/stuff/iso2exe/Makefile	Tue Nov 22 22:17:33 2016 +0100
     2.3 @@ -43,18 +43,6 @@
     2.4  	com2exe $< > $@
     2.5  	chmod +x $@
     2.6  
     2.7 -OBJS = boot.o iso9660.o libdos.o bootlinux.o
     2.8 -boot.com: $(OBJS)
     2.9 -	$(BCC) $(BCCFLAGS) -o $@ $(OBJS) &&  upx --ultra-brute $@
    2.10 -
    2.11 -boot.o: boot.c iso9660.h bootlinux.h libdos.h
    2.12 -
    2.13 -bootlinux.o: bootlinux.c iso9660.h bootlinux.h
    2.14 -
    2.15 -iso9660.o: iso9660.c iso9660.h
    2.16 -
    2.17 -libdos.o: libdos.c libdos.h
    2.18 -
    2.19  win32.res: win32.rc win32.ico
    2.20  	i586-pc-mingw32-windres $< -O coff -o $@
    2.21  
     3.1 --- a/syslinux/stuff/iso2exe/README	Tue Nov 22 21:19:01 2016 +0100
     3.2 +++ b/syslinux/stuff/iso2exe/README	Tue Nov 22 22:17:33 2016 +0100
     3.3 @@ -86,12 +86,9 @@
     3.4  
     3.5  Limitations:
     3.6  
     3.7 -- Only DOS 3 to 7 boot supported. Checked with http://www.allbootdisks.com/
     3.8 +- Only DOS and DOS based Windows (16 bits) boot supported.
     3.9    NT/XP support via boot device creation.
    3.10  
    3.11 -- Real mode support only. VM86 is not supported. Will not boot directly, but
    3.12 -  a removable boot media is created.
    3.13 -
    3.14  - The DOS Linux loader and the ISO initramfs must fit in ~30Kb.
    3.15  
    3.16  - Linux kernels before version 2.6.30 don't support multiple initramfs load.
    3.17 @@ -102,7 +99,5 @@
    3.18  
    3.19  TODO:
    3.20  
    3.21 -- Add XMM and VCPI (VM86) support.
    3.22 -
    3.23  - floppy bootstrap
    3.24