wok-current rev 18836
Up ipxe (1.0.0-20160119)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 19 22:25:38 2016 +0100 (2016-01-19) |
parents | 824e5ee3068c |
children | 61b43b7caa89 |
files | ipxe-pxe/receipt ipxe/receipt ipxe/stuff/ipxe.cmd |
line diff
1.1 --- a/ipxe-pxe/receipt Tue Jan 19 21:01:01 2016 +0100 1.2 +++ b/ipxe-pxe/receipt Tue Jan 19 22:25:38 2016 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ipxe-pxe" 1.7 -VERSION="1.0.0-20130925" 1.8 +VERSION="1.0.0-20160119" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Open source network boot firmware for pxe server." 1.11 MAINTAINER="pascal.bellard@slitaz.org"
2.1 --- a/ipxe/receipt Tue Jan 19 21:01:01 2016 +0100 2.2 +++ b/ipxe/receipt Tue Jan 19 22:25:38 2016 +0100 2.3 @@ -1,8 +1,8 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="ipxe" 2.7 -VERSION="1.0.0-20130925" 2.8 -GIT_TAG="7405685df2bea9a457970d8b5a63ede08fcda6f7" 2.9 +VERSION="1.0.0-20160119" 2.10 +GIT_TAG="3c26ffafceef176286c108fe2b01ccebd83062a0" 2.11 CATEGORY="system-tools" 2.12 SHORT_DESC="Open source network boot firmware." 2.13 MAINTAINER="pascal.bellard@slitaz.org" 2.14 @@ -12,14 +12,19 @@ 2.15 WGET_URL="https://git.ipxe.org/ipxe.git/snapshot/$GIT_TAG.tar.bz2" 2.16 2.17 DEPENDS="" 2.18 -BUILD_DEPENDS="perl wget" 2.19 +BUILD_DEPENDS="perl wget liblzma-dev" 2.20 2.21 # Rules to configure and make the package. 2.22 compile_rules() 2.23 { 2.24 cd $src/src 2.25 + sed -i 's/-llzma/& -lpthread/' Makefile.* 2.26 + sed -i 's|//\(#define.*CONSOLE_FRAMEBUFFER\)|\1|' config/console.h 2.27 + sed -i -e 's|//\(#define.*IMAGE_PNG\)|\1|' \ 2.28 + -e 's|//\(#define.*CONSOLE_CMD\)|\1|' \ 2.29 + -e 's|//\(#define.*REBOOT_CMD\)|\1|' config/general.h 2.30 cp $stuff/lkrnprefix.S arch/i386/prefix 2.31 - make bin/undionly.kpxe bin/ipxe.lkrn 2.32 + make bin/undionly.kpxe bin/ipxe.lkrn EMBED=$stuff/ipxe.cmd 2.33 } 2.34 2.35 # Rules to gen a SliTaz package suitable for Tazpkg. 2.36 @@ -27,9 +32,6 @@ 2.37 { 2.38 mkdir $fs/boot 2.39 cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe 2.40 - OFS=$((0x28B)) 2.41 - dd if=$stuff/ipxe.cmd bs=1 of=$fs/boot/ipxe conv=notrunc \ 2.42 - seek=$OFS count=$((0xA00-$OFS)) 2.43 OFS=$((0x156)) 2.44 unix2dos <<EOT | dd bs=1 of=$fs/boot/ipxe conv=notrunc \ 2.45 seek=$OFS count=$((0x1F0-$OFS))
3.1 --- a/ipxe/stuff/ipxe.cmd Tue Jan 19 21:01:01 2016 +0100 3.2 +++ b/ipxe/stuff/ipxe.cmd Tue Jan 19 22:25:38 2016 +0100 3.3 @@ -27,10 +27,13 @@ 3.4 :web 3.5 imgfree 3.6 set weburl http://mirror.slitaz.org/pxe/ 3.7 +chain --autofree ${weburl}ipxe/menu.ipxe && boot || 3.8 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot || 3.9 set weburl http://mirror.switch.ch/ftp/mirror/slitaz/pxe/ 3.10 +chain --autofree ${weburl}ipxe/menu.ipxe && boot || 3.11 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot || 3.12 set weburl http://download.tuxfamily.org/slitaz/pxe/ 3.13 +chain --autofree ${weburl}ipxe/menu.ipxe && boot || 3.14 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot || 3.15 goto menu 3.16