wok diff ipxe/receipt @ rev 16667

Add mlvpn
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 14 11:22:33 2014 +0000 (2014-05-14)
parents a436a235f098
children 3cf0f7376fcf
line diff
     1.1 --- a/ipxe/receipt	Fri Jul 05 13:51:55 2013 +0200
     1.2 +++ b/ipxe/receipt	Wed May 14 11:22:33 2014 +0000
     1.3 @@ -1,8 +1,8 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ipxe"
     1.7 -VERSION="1.0.0-20121001"
     1.8 -GIT_TAG="d23db2848813a9d872e1d71272e7f41df7d0d01c"
     1.9 +VERSION="1.0.0-20130925"
    1.10 +GIT_TAG="7405685df2bea9a457970d8b5a63ede08fcda6f7"
    1.11  CATEGORY="system-tools"
    1.12  SHORT_DESC="Open source network boot firmware."
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14 @@ -18,6 +18,7 @@
    1.15  compile_rules()
    1.16  {
    1.17  	cd $src/src
    1.18 +	cp $stuff/lkrnprefix.S arch/i386/prefix
    1.19  	make bin/undionly.kpxe bin/ipxe.lkrn
    1.20  }
    1.21  
    1.22 @@ -26,41 +27,12 @@
    1.23  {
    1.24  	mkdir $fs/boot
    1.25  	cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe
    1.26 -	cat > $fs/boot/ipxe.cmd <<EOT
    1.27 -#!ipxe
    1.28 -
    1.29 -dhcp
    1.30 -
    1.31 -:menu
    1.32 -menu SliTaz net boot menu
    1.33 -item lan	Your PXE boot
    1.34 -item web	SliTaz WEB boot
    1.35 -item rolling	SliTaz development version
    1.36 -item config	iPXE configuration
    1.37 -item exit	iPXE command line
    1.38 -choose --default web --timeout 3000 target && goto ${target}
    1.39 -
    1.40 -:exit
    1.41 -help
    1.42 -shell
    1.43 -goto menu
    1.44 -
    1.45 -:web
    1.46 -chain http://mirror.slitaz.org/pxe/pxelinux.0
    1.47 -chain http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0
    1.48 -chain http://download.tuxfamily.org/slitaz/pxe/pxelinux.0
    1.49 -goto menu
    1.50 -
    1.51 -:lan
    1.52 -autoboot
    1.53 -goto menu
    1.54 -
    1.55 -:rolling
    1.56 -sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso
    1.57 -goto menu
    1.58 -
    1.59 -:config
    1.60 -config
    1.61 -goto menu
    1.62 +	OFS=$((0x28B))
    1.63 +	dd if=$stuff/ipxe.cmd bs=1 of=$fs/boot/ipxe conv=notrunc \
    1.64 +		seek=$OFS count=$((0xA00-$OFS))
    1.65 +	OFS=$((0x151))
    1.66 +	unix2dos <<EOT | dd bs=1 of=$fs/boot/ipxe conv=notrunc \
    1.67 +		seek=$OFS count=$((0x1F0-$OFS))
    1.68 +$SHORT_DESC
    1.69  EOT
    1.70  }