wok annotate 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
rev   line source
pascal@963 1 # SliTaz package receipt.
pascal@963 2
pascal@963 3 PACKAGE="gpxe-pxe"
pascal@963 4 VERSION="0.9.3"
pascal@963 5 CATEGORY="system-tools"
pascal@963 6 SHORT_DESC="Ethernet bootloader for pxe server."
pascal@963 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@963 8 WEB_SITE="http://www.etherboot.org/"
pascal@963 9 WANTED="gpxe"
pascal@963 10
pascal@963 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@963 12 genpkg_rules()
pascal@963 13 {
pascal@963 14 mkdir -p $fs/usr/share/boot
pascal@963 15 cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe
pascal@963 16 # install 127 bytes of forced url at offset 5
pascal@963 17 echo -n "http://boot.slitaz.org/gpxe" | cat - /dev/zero | dd bs=1 \
pascal@963 18 seek=5 count=127 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe
pascal@963 19 }