wok rev 20039
Add ipxelinux
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 25 17:35:21 2017 +0200 (2017-08-25) |
parents | d79fd0c7512f |
children | 5f4f5cda01ff |
files | firehol/receipt ipxe/receipt ipxe/stuff/ipxelinux.ipxe ipxelinux/receipt |
line diff
1.1 --- a/firehol/receipt Thu Aug 24 19:59:19 2017 +0200 1.2 +++ b/firehol/receipt Fri Aug 25 17:35:21 2017 +0200 1.3 @@ -11,7 +11,7 @@ 1.4 WGET_URL="https://github.com/firehol/firehol/releases/download/v$VERSION/$TARBALL" 1.5 CONFIG_FILES="/etc/firehol" 1.6 1.7 -BUILD_DEPENDS="iproute2 iprange ipset" 1.8 +BUILD_DEPENDS="iproute2 iprange ipset curl" 1.9 DEPENDS="$BUILD_DEPENDS bash" 1.10 1.11 # Rules to configure and make the package.
2.1 --- a/ipxe/receipt Thu Aug 24 19:59:19 2017 +0200 2.2 +++ b/ipxe/receipt Fri Aug 25 17:35:21 2017 +0200 2.3 @@ -12,7 +12,7 @@ 2.4 WGET_URL="https://git.ipxe.org/ipxe.git/snapshot/$GIT_TAG.tar.bz2" 2.5 2.6 DEPENDS="" 2.7 -BUILD_DEPENDS="perl wget liblzma-dev" 2.8 +BUILD_DEPENDS="perl wget liblzma-dev syslinux" 2.9 2.10 # Rules to configure and make the package. 2.11 compile_rules() 2.12 @@ -26,6 +26,9 @@ 2.13 -e 's|//\(#define.*CONSOLE_CMD\)|\1|' \ 2.14 -e 's|//\(#define.*REBOOT_CMD\)|\1|' config/general.h 2.15 cp $stuff/lkrnprefix.S arch/i386/prefix 2.16 + pxelinux="$(ls $WOK/syslinux/source/*/core/pxelinux.0)" 2.17 + make bin/undionly.kkkpxe EMBED=$stuff/ipxelinux.ipxe,$pxelinux && 2.18 + mv bin/undionly.kkkpxe bin/ipxelinux.0 2.19 make bin/undionly.pxe bin/undionly.kpxe bin/undionly.kkpxe \ 2.20 bin/undionly.kkkpxe bin/ipxe.pxe bin/ipxe.kpxe bin/ipxe.kkpxe \ 2.21 bin/ipxe.kkkpxe bin/ipxe.nbi bin/ipxe.lkrn EMBED=$stuff/ipxe.cmd
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/ipxe/stuff/ipxelinux.ipxe Fri Aug 25 17:35:21 2017 +0200 3.3 @@ -0,0 +1,3 @@ 3.4 +#!ipxe 3.5 +dhcp 3.6 +chain pxelinux.0
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/ipxelinux/receipt Fri Aug 25 17:35:21 2017 +0200 4.3 @@ -0,0 +1,19 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="ipxelinux" 4.7 +VERSION="1.0.0-20170417" 4.8 +CATEGORY="system-tools" 4.9 +SHORT_DESC="Open source network boot firmware for pxe server." 4.10 +MAINTAINER="pascal.bellard@slitaz.org" 4.11 +LICENSE="GPL2" 4.12 +WEB_SITE="http://ipxe.org/" 4.13 +WANTED="ipxe" 4.14 + 4.15 +DEPENDS="" 4.16 + 4.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.18 +genpkg_rules() 4.19 +{ 4.20 + mkdir -p $fs/usr/share/boot 4.21 + cp -a $src/src/bin/ipxelinux.0 $fs/usr/share/boot/ 4.22 +}