wok-current diff gpxe/receipt @ rev 2338
gpxe: add url redondancy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 01 22:17:59 2009 +0000 (2009-03-01) |
parents | 3d99ecce2d4b |
children | 7f1f7efb4ddb |
line diff
1.1 --- a/gpxe/receipt Sun Oct 05 23:16:15 2008 +0000 1.2 +++ b/gpxe/receipt Sun Mar 01 22:17:59 2009 +0000 1.3 @@ -13,7 +13,7 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src/src 1.7 - for i in prefix.u default_boot.u cmdline.u; do 1.8 + for i in prefix.u default_boot.u cmdline.u url_list.u; do 1.9 [ -f done.$i ] && continue 1.10 echo "Apply $i..." 1.11 patch -p2 < ../../stuff/$i || return 1 1.12 @@ -27,9 +27,12 @@ 1.13 { 1.14 mkdir -p $fs/boot 1.15 cp $src/src/bin/gpxe.lkrn $fs/boot/gpxe 1.16 - # install 127 bytes of forced url at offset 519 1.17 - echo -n "http://boot.slitaz.org/pxe/pxelinux.0" | cat - /dev/zero | \ 1.18 - dd bs=1 seek=519 count=127 conv=notrunc of=$fs/boot/gpxe 1.19 + # install 255 bytes of forced url at offset 519 1.20 + echo -n "\ 1.21 +http://boot.slitaz.org/pxe/pxelinux.0,\ 1.22 +http://mirror.slitaz.org/pxe/pxelinux.0,\ 1.23 +http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \ 1.24 + dd bs=1 seek=519 count=255 conv=notrunc of=$fs/boot/gpxe 1.25 # Package all gpxe pkgs 1.26 for i in $(cd $WOK; ls -d gpxe-*) 1.27 do