wok-current view gpxe-pxe/receipt @ rev 19380
Up palemoon (26.4.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Aug 18 16:16:50 2016 +0200 (2016-08-18) |
parents | a436a235f098 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gpxe-pxe"
4 VERSION="0.9.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Ethernet bootloader for pxe server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.etherboot.org/"
10 WANTED="gpxe"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share/boot
16 cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe
17 # install 255 bytes of forced url at offset 5
18 echo -n "\
19 http://mirror.slitaz.org/pxe/pxelinux.0,\
20 http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0,\
21 http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \
22 dd bs=1 seek=5 count=255 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe
23 }