# HG changeset patch # User Pascal Bellard # Date 1453238738 -3600 # Node ID c0ad10db41402670815f92745b9f1b79b57d3622 # Parent 824e5ee3068cc9225954d9213bb77c017346836b Up ipxe (1.0.0-20160119) diff -r 824e5ee3068c -r c0ad10db4140 ipxe-pxe/receipt --- a/ipxe-pxe/receipt Tue Jan 19 21:01:01 2016 +0100 +++ b/ipxe-pxe/receipt Tue Jan 19 22:25:38 2016 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="ipxe-pxe" -VERSION="1.0.0-20130925" +VERSION="1.0.0-20160119" CATEGORY="system-tools" SHORT_DESC="Open source network boot firmware for pxe server." MAINTAINER="pascal.bellard@slitaz.org" diff -r 824e5ee3068c -r c0ad10db4140 ipxe/receipt --- a/ipxe/receipt Tue Jan 19 21:01:01 2016 +0100 +++ b/ipxe/receipt Tue Jan 19 22:25:38 2016 +0100 @@ -1,8 +1,8 @@ # SliTaz package receipt. PACKAGE="ipxe" -VERSION="1.0.0-20130925" -GIT_TAG="7405685df2bea9a457970d8b5a63ede08fcda6f7" +VERSION="1.0.0-20160119" +GIT_TAG="3c26ffafceef176286c108fe2b01ccebd83062a0" CATEGORY="system-tools" SHORT_DESC="Open source network boot firmware." MAINTAINER="pascal.bellard@slitaz.org" @@ -12,14 +12,19 @@ WGET_URL="https://git.ipxe.org/ipxe.git/snapshot/$GIT_TAG.tar.bz2" DEPENDS="" -BUILD_DEPENDS="perl wget" +BUILD_DEPENDS="perl wget liblzma-dev" # Rules to configure and make the package. compile_rules() { cd $src/src + sed -i 's/-llzma/& -lpthread/' Makefile.* + sed -i 's|//\(#define.*CONSOLE_FRAMEBUFFER\)|\1|' config/console.h + sed -i -e 's|//\(#define.*IMAGE_PNG\)|\1|' \ + -e 's|//\(#define.*CONSOLE_CMD\)|\1|' \ + -e 's|//\(#define.*REBOOT_CMD\)|\1|' config/general.h cp $stuff/lkrnprefix.S arch/i386/prefix - make bin/undionly.kpxe bin/ipxe.lkrn + make bin/undionly.kpxe bin/ipxe.lkrn EMBED=$stuff/ipxe.cmd } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -27,9 +32,6 @@ { mkdir $fs/boot cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe - OFS=$((0x28B)) - dd if=$stuff/ipxe.cmd bs=1 of=$fs/boot/ipxe conv=notrunc \ - seek=$OFS count=$((0xA00-$OFS)) OFS=$((0x156)) unix2dos <