wok-6.x view gpxe-pxe/receipt @ rev 2053

slim: backup config if exist (mainly keep screen config when upgrade)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 17 23:08:54 2009 +0100 (2009-01-17)
parents 884b79c38a75
children bbd4c519c147
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 WEB_SITE="http://www.etherboot.org/"
9 WANTED="gpxe"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/share/boot
15 cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe
16 # install 127 bytes of forced url at offset 5
17 echo -n "http://boot.slitaz.org/pxe/pxelinux.0" | cat - /dev/zero | dd bs=1 \
18 seek=5 count=127 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe
19 }