wok-6.x annotate gpxe-pxe/receipt @ rev 1435

Add knock
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 01 11:27:07 2008 +0000 (2008-10-01)
parents 884b79c38a75
children bbd4c519c147
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@1006 17 echo -n "http://boot.slitaz.org/pxe/pxelinux.0" | 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 }