wok diff gpxe-pxe/receipt @ rev 963

Add gpxe-pxe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 29 22:44:46 2008 +0000 (2008-06-29)
parents
children 71aeaedf0b9b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gpxe-pxe/receipt	Sun Jun 29 22:44:46 2008 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gpxe-pxe"
     1.7 +VERSION="0.9.3"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Ethernet bootloader for pxe server."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://www.etherboot.org/"
    1.12 +WANTED="gpxe"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/share/boot
    1.18 +	cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe
    1.19 +	# install 127 bytes of forced url at offset 5
    1.20 +	echo -n "http://boot.slitaz.org/gpxe" | cat - /dev/zero | dd bs=1 \
    1.21 +		seek=5 count=127 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe
    1.22 +}