wok-next annotate gpxe-pxe/receipt @ rev 14881
Up ManaPlus
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Wed Jul 24 14:51:05 2013 +0200 (2013-07-24) |
parents | d6b1e6646591 |
children | 408c87fa22ca |
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@14781 | 8 LICENSE="GPL" |
pascal@963 | 9 WEB_SITE="http://www.etherboot.org/" |
pascal@963 | 10 WANTED="gpxe" |
pascal@963 | 11 |
pascal@963 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@963 | 13 genpkg_rules() |
pascal@963 | 14 { |
pascal@963 | 15 mkdir -p $fs/usr/share/boot |
pascal@963 | 16 cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe |
pascal@2339 | 17 # install 255 bytes of forced url at offset 5 |
pascal@2339 | 18 echo -n "\ |
pascal@2339 | 19 http://mirror.slitaz.org/pxe/pxelinux.0,\ |
pascal@4720 | 20 http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0,\ |
pascal@2339 | 21 http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \ |
pascal@2339 | 22 dd bs=1 seek=5 count=255 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe |
pascal@963 | 23 } |