# HG changeset patch # User Pascal Bellard # Date 1503675321 -7200 # Node ID 49e861a5cc928468f81572f1bbf87a4e47b30517 # Parent d79fd0c7512f3cf2ce49fb925aac3b87a3e355a9 Add ipxelinux diff -r d79fd0c7512f -r 49e861a5cc92 firehol/receipt --- a/firehol/receipt Thu Aug 24 19:59:19 2017 +0200 +++ b/firehol/receipt Fri Aug 25 17:35:21 2017 +0200 @@ -11,7 +11,7 @@ WGET_URL="https://github.com/firehol/firehol/releases/download/v$VERSION/$TARBALL" CONFIG_FILES="/etc/firehol" -BUILD_DEPENDS="iproute2 iprange ipset" +BUILD_DEPENDS="iproute2 iprange ipset curl" DEPENDS="$BUILD_DEPENDS bash" # Rules to configure and make the package. diff -r d79fd0c7512f -r 49e861a5cc92 ipxe/receipt --- a/ipxe/receipt Thu Aug 24 19:59:19 2017 +0200 +++ b/ipxe/receipt Fri Aug 25 17:35:21 2017 +0200 @@ -12,7 +12,7 @@ WGET_URL="https://git.ipxe.org/ipxe.git/snapshot/$GIT_TAG.tar.bz2" DEPENDS="" -BUILD_DEPENDS="perl wget liblzma-dev" +BUILD_DEPENDS="perl wget liblzma-dev syslinux" # Rules to configure and make the package. compile_rules() @@ -26,6 +26,9 @@ -e 's|//\(#define.*CONSOLE_CMD\)|\1|' \ -e 's|//\(#define.*REBOOT_CMD\)|\1|' config/general.h cp $stuff/lkrnprefix.S arch/i386/prefix + pxelinux="$(ls $WOK/syslinux/source/*/core/pxelinux.0)" + make bin/undionly.kkkpxe EMBED=$stuff/ipxelinux.ipxe,$pxelinux && + mv bin/undionly.kkkpxe bin/ipxelinux.0 make bin/undionly.pxe bin/undionly.kpxe bin/undionly.kkpxe \ bin/undionly.kkkpxe bin/ipxe.pxe bin/ipxe.kpxe bin/ipxe.kkpxe \ bin/ipxe.kkkpxe bin/ipxe.nbi bin/ipxe.lkrn EMBED=$stuff/ipxe.cmd diff -r d79fd0c7512f -r 49e861a5cc92 ipxe/stuff/ipxelinux.ipxe --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ipxe/stuff/ipxelinux.ipxe Fri Aug 25 17:35:21 2017 +0200 @@ -0,0 +1,3 @@ +#!ipxe +dhcp +chain pxelinux.0 diff -r d79fd0c7512f -r 49e861a5cc92 ipxelinux/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ipxelinux/receipt Fri Aug 25 17:35:21 2017 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="ipxelinux" +VERSION="1.0.0-20170417" +CATEGORY="system-tools" +SHORT_DESC="Open source network boot firmware for pxe server." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://ipxe.org/" +WANTED="ipxe" + +DEPENDS="" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/boot + cp -a $src/src/bin/ipxelinux.0 $fs/usr/share/boot/ +}