slitaz-forge rev 611

webboot: switch from pxelinux to ipxe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 23 15:45:00 2016 +0100 (2016-01-23)
parents f97458b73690
children 71a99f5f1841
files mirror/root/ipxe/menu.ipxe mirror/root/ipxe/slitaz.ipxe mirror/root/ipxe/slitaz.png mirror/root/ipxe/tiny.ipxe mirror/root/ipxe/tools.ipxe mirror/root/pxe/defaults.cfg mirror/root/pxe/mkcfg.sh mirror/root/pxe/pxelinux.cfg/default
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mirror/root/ipxe/menu.ipxe	Sat Jan 23 15:45:00 2016 +0100
     1.3 @@ -0,0 +1,108 @@
     1.4 +#!ipxe
     1.5 +
     1.6 +set menu-timeout 3000
     1.7 +#set mirror http://mirror.slitaz.org/
     1.8 +#set mirror http://mirror1.slitaz.org/
     1.9 +set mirror http://mirror2.slitaz.org/
    1.10 +set mirror http://mirror.switch.ch/ftp/mirror/slitaz/
    1.11 +#set mirror http://mirror3.slitaz.org/
    1.12 +#set mirror http://download.tuxfamily.org/slitaz/
    1.13 +
    1.14 +console --picture /pxe/ipxe/slitaz.png
    1.15 +
    1.16 +:menu
    1.17 +menu SliTaz Web boot
    1.18 +item --key r rolling SliTaz rolling (last weekly build)
    1.19 +item --key s stable SliTaz stable
    1.20 +item allslitaz All SliTaz versions -->
    1.21 +item --gap
    1.22 +item --gap Web boot ring:
    1.23 +item pxelinux SliTaz pxelinux web boot
    1.24 +item bko http://boot.kernel.org/ [down]
    1.25 +item netbootme http://www.netboot.me/ [hang]
    1.26 +item salstar http://boot.salstar.sk/
    1.27 +item netbootxyz http://netboot.xyz/ (more tools)
    1.28 +item --gap
    1.29 +item --gap Tools:
    1.30 +item tazfd SliTaz boot floppy
    1.31 +item localos Local disk OS
    1.32 +item misc Third party tools -->
    1.33 +item --gap
    1.34 +item --gap Leave web boot:
    1.35 +item local Boot from your hard disk
    1.36 +item reboot Reboot
    1.37 +choose --timeout ${menu-timeout} --default rolling target || goto exit
    1.38 +set menu-timeout 0
    1.39 +goto ${target}
    1.40 +
    1.41 +:exit
    1.42 +help
    1.43 +echo Type 'exit' to get back to the menu
    1.44 +shell
    1.45 +goto menu
    1.46 +
    1.47 +:rolling
    1.48 +sanboot http://mirror1.slitaz.org/iso/rolling/slitaz-rolling.iso ||
    1.49 +sanboot ${mirror}iso/rolling/slitaz-rolling.iso ||
    1.50 +goto menu
    1.51 +
    1.52 +:stable
    1.53 +sanboot ${mirror}iso/stable/slitaz-4.0.iso ||
    1.54 +goto menu
    1.55 +
    1.56 +:allslitaz
    1.57 +chain --autofree /pxe/ipxe/slitaz.ipxe
    1.58 +goto menu
    1.59 +
    1.60 +:localos
    1.61 +chain /pxe/grub.exe
    1.62 +goto menu
    1.63 +
    1.64 +:pxelinux
    1.65 +imgfree
    1.66 +kernel /boot/gpxe url=${mirror}pxe/pxelinux.0,http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0,http://download.tuxfamily.org/slitaz/pxe/pxelinux.0
    1.67 +boot
    1.68 +goto menu
    1.69 +
    1.70 +:bko
    1.71 +imgfree
    1.72 +kernel /boot/gpxe url=http://boot.kernel.org/bko/pxelinux.0,http://boot.rit.edu/bko/pxelinux.0
    1.73 +boot
    1.74 +goto menu
    1.75 +
    1.76 +:netbootme
    1.77 +imgfree
    1.78 +kernel /pxe/netboot.me
    1.79 +boot
    1.80 +goto menu
    1.81 +
    1.82 +:salstar
    1.83 +imgfree
    1.84 +kernel http://boot.salstar.sk/ipxe/ipxe.lkrn
    1.85 +boot
    1.86 +goto menu
    1.87 +
    1.88 +:netbootxyz
    1.89 +chain --autofree http://boot.netboot.xyz/menu.ipxe
    1.90 +goto menu
    1.91 +
    1.92 +:tazfd
    1.93 +imgfree
    1.94 +kernel /pxe/memdisk
    1.95 +initrd /boot/floppy-grub4dos
    1.96 +boot
    1.97 +goto menu
    1.98 +
    1.99 +:misc
   1.100 +chain --autofree /pxe/ipxe/tools.ipxe
   1.101 +goto menu
   1.102 +
   1.103 +:local
   1.104 +imgfree
   1.105 +kernel /pxe/grub.exe --config-file="chainloader (hd0)+1 || chainloader (hd1)+1"
   1.106 +boot
   1.107 +goto menu
   1.108 +
   1.109 +:reboot
   1.110 +reboot ||
   1.111 +goto menu
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mirror/root/ipxe/slitaz.ipxe	Sat Jan 23 15:45:00 2016 +0100
     2.3 @@ -0,0 +1,184 @@
     2.4 +#!ipxe
     2.5 +
     2.6 +set menu-timeout 3000
     2.7 +#set mirror http://mirror.slitaz.org/
     2.8 +#set mirror http://mirror1.slitaz.org/
     2.9 +set mirror http://mirror2.slitaz.org/
    2.10 +set mirror http://mirror.switch.ch/ftp/mirror/slitaz/
    2.11 +#set mirror http://mirror3.slitaz.org/
    2.12 +#set mirror http://download.tuxfamily.org/slitaz/
    2.13 +
    2.14 +:menu
    2.15 +menu SliTaz Web boot
    2.16 +item --key q return ..
    2.17 +item --gap
    2.18 +item --gap Tiny SliTaz: see http://tiny.slitaz.org/
    2.19 +item --key t tiny Tiny SliTaz -->
    2.20 +item --gap
    2.21 +item --gap SliTaz pre-1.0:
    2.22 +item vintage SliTaz 04/12/2007
    2.23 +item --gap
    2.24 +item --gap SliTaz 1.0: released 22/03/2008
    2.25 +item core1 Slitaz 1.0 standard
    2.26 +item loram1 Slitaz 1.0 loram
    2.27 +item tiny1 Slitaz 1.0 tiny
    2.28 +item --gap
    2.29 +item --gap SliTaz 2.0: released 16/04/2009
    2.30 +item core2 Slitaz 2.0 standard
    2.31 +item loram2 Slitaz 2.0 loram
    2.32 +item tiny2 Slitaz 2.0 tiny
    2.33 +item tinytext2 Slitaz 2.0 tiny text
    2.34 +item --gap
    2.35 +item --gap SliTaz 3.0: released 28/03/2010
    2.36 +item core3 Slitaz 3.0 standard
    2.37 +item loram3 Slitaz 3.0 loram
    2.38 +item firefox3 Slitaz 3.0 firefox
    2.39 +item tiny3 Slitaz 3.0 tiny
    2.40 +item tinytext3 Slitaz 3.0 tiny text
    2.41 +item --gap
    2.42 +item --gap SliTaz 4.0: released 10/04/2012
    2.43 +item core4 Slitaz 4.0 standard
    2.44 +item loram4 Slitaz 4.0 loram
    2.45 +item firefox4 Slitaz 4.0 firefox
    2.46 +item kids4 Slitaz 4.0 kids
    2.47 +item tiny4 Slitaz 4.0 tiny
    2.48 +item tinytext4 Slitaz 4.0 tiny text
    2.49 +item --gap
    2.50 +item --gap SliTaz 5.0
    2.51 +item core5RC1 Slitaz 5.0 RC1 02/05/2014
    2.52 +item core5RC2 Slitaz 5.0 RC2 19/05/2014
    2.53 +item core5RC3 Slitaz 5.0 RC3 20/05/2015
    2.54 +item --gap
    2.55 +item --gap SliTaz rolling
    2.56 +item rolling10 Slitaz rolling 10in1 (autoselect 32bits or 64bits arch)
    2.57 +item rolling64 Slitaz rolling 64 bits (no 32bits arch support)
    2.58 +item rollingloram Slitaz rolling loram
    2.59 +choose --timeout ${menu-timeout} target || goto exit
    2.60 +set menu-timeout 0
    2.61 +goto ${target}
    2.62 +
    2.63 +:return
    2.64 +chain --autofree /pxe/ipxe/menu.ipxe
    2.65 +
    2.66 +:tiny
    2.67 +chain --autofree /pxe/ipxe/tiny.ipxe
    2.68 +goto menu
    2.69 +
    2.70 +:vintage
    2.71 +sanboot ${mirror}iso/vintage/slitaz-cooking-20071204.iso ||
    2.72 +goto menu
    2.73 +
    2.74 +:core1
    2.75 +sanboot ${mirror}iso/1.0/flavors/slitaz-1.0-4in1.iso ||
    2.76 +goto menu
    2.77 +
    2.78 +:loram1
    2.79 +sanboot ${mirror}iso/1.0/flavors/slitaz-loram-1.0.iso ||
    2.80 +goto menu
    2.81 +
    2.82 +:tiny1
    2.83 +sanboot ${mirror}iso/1.0/flavors/slitaz-tiny-1.0.iso ||
    2.84 +goto menu
    2.85 +
    2.86 +:core2
    2.87 +sanboot ${mirror}iso/2.0/flavors/slitaz-2.0-3in1.iso ||
    2.88 +goto menu
    2.89 +
    2.90 +:loram2
    2.91 +sanboot ${mirror}iso/2.0/flavors/slitaz-loram.iso ||
    2.92 +goto menu
    2.93 +
    2.94 +:tiny2
    2.95 +imgfree
    2.96 +kernel ${mirror}boot/2.0/bzImage rw root=/dev/null vga=normal autologin
    2.97 +initrd ${mirror}boot/2.0/rootfs-tiny.gz
    2.98 +boot
    2.99 +goto menu
   2.100 +
   2.101 +:tinytext2
   2.102 +imgfree
   2.103 +kernel ${mirror}boot/2.0/bzImage rw root=/dev/null vga=normal screen=text
   2.104 +initrd ${mirror}boot/2.0/rootfs-tiny.gz
   2.105 +boot
   2.106 +goto menu
   2.107 +
   2.108 +:core3
   2.109 +sanboot ${mirror}iso/3.0/flavors/slitaz-3.0-3in1.iso ||
   2.110 +goto menu
   2.111 +
   2.112 +:loram3
   2.113 +sanboot ${mirror}iso/3.0/flavors/slitaz-3.0-loram.iso ||
   2.114 +goto menu
   2.115 +
   2.116 +:firefox3
   2.117 +sanboot ${mirror}iso/3.0/flavors/slitaz-3.0-firefox.iso ||
   2.118 +goto menu
   2.119 +
   2.120 +:tiny3
   2.121 +imgfree
   2.122 +kernel ${mirror}boot/3.0/bzImage rw root=/dev/null vga=normal autologin
   2.123 +initrd ${mirror}boot/3.0/rootfs-tiny.gz
   2.124 +boot
   2.125 +goto menu
   2.126 +
   2.127 +:tinytext3
   2.128 +imgfree
   2.129 +kernel ${mirror}boot/3.0/bzImage rw root=/dev/null vga=normal screen=text
   2.130 +initrd ${mirror}boot/3.0/rootfs-tiny.gz
   2.131 +boot
   2.132 +goto menu
   2.133 +
   2.134 +:core4
   2.135 +sanboot ${mirror}iso/4.0/slitaz-4.0.iso ||
   2.136 +goto menu
   2.137 +
   2.138 +:loram4
   2.139 +sanboot ${mirror}iso/4.0/flavors/slitaz-4.0-loram.iso ||
   2.140 +goto menu
   2.141 +
   2.142 +:firefox4
   2.143 +sanboot ${mirror}iso/4.0/flavors/slitaz-4.0-firefox.iso ||
   2.144 +goto menu
   2.145 +
   2.146 +:kids4
   2.147 +sanboot ${mirror}iso/4.0/flavors/slitaz-4.0-kids.iso ||
   2.148 +goto menu
   2.149 +
   2.150 +:tiny4
   2.151 +imgfree
   2.152 +kernel ${mirror}boot/4.0/bzImage rw root=/dev/null vga=normal autologin
   2.153 +initrd ${mirror}boot/4.0/rootfstiny.gz
   2.154 +boot
   2.155 +goto menu
   2.156 +
   2.157 +:tinytext4
   2.158 +imgfree
   2.159 +kernel ${mirror}boot/4.0/bzImage rw root=/dev/null vga=normal screen=text
   2.160 +initrd ${mirror}boot/4.0/rootfstiny.gz
   2.161 +boot
   2.162 +goto menu
   2.163 +
   2.164 +:core5RC1
   2.165 +sanboot ${mirror}iso/5.0/slitaz-5.0-rc1.iso ||
   2.166 +goto menu
   2.167 +
   2.168 +:core5RC2
   2.169 +sanboot ${mirror}iso/5.0/slitaz-5.0-rc2.iso ||
   2.170 +goto menu
   2.171 +
   2.172 +:core5RC3
   2.173 +sanboot ${mirror}iso/5.0/slitaz-5.0-rc3.iso ||
   2.174 +goto menu
   2.175 +
   2.176 +:rolling10
   2.177 +sanboot ${mirror}iso/rolling/slitaz-rolling-10in1.iso ||
   2.178 +goto menu
   2.179 +
   2.180 +:rolling64
   2.181 +sanboot ${mirror}iso/rolling/slitaz-rolling-core64.iso ||
   2.182 +goto menu
   2.183 +
   2.184 +:rollingloram
   2.185 +sanboot ${mirror}iso/rolling/slitaz-rolling-loram.iso ||
   2.186 +goto menu
   2.187 +
     3.1 Binary file mirror/root/ipxe/slitaz.png has changed
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/mirror/root/ipxe/tiny.ipxe	Sat Jan 23 15:45:00 2016 +0100
     4.3 @@ -0,0 +1,39 @@
     4.4 +#!ipxe
     4.5 +
     4.6 +set menu-timeout 3000
     4.7 +
     4.8 +:menu
     4.9 +menu Tiny SliTaz Web boot (needs a 386sx with 8Mb)
    4.10 +item --key q return ..
    4.11 +item --gap
    4.12 +item --key u tinyus Tiny Slitaz (us)
    4.13 +item --key f tinyfr Tiny Slitaz (fr)
    4.14 +item --key v tinyvnc Tiny VNC
    4.15 +choose --timeout ${menu-timeout} target || goto exit
    4.16 +set menu-timeout 0
    4.17 +goto ${target}
    4.18 +
    4.19 +:tinyus
    4.20 +imgfree
    4.21 +kernel /pxe/tiny/bzImage.gz
    4.22 +initrd /pxe/tiny/rootfs.gz
    4.23 +boot
    4.24 +goto menu
    4.25 +
    4.26 +:tinyfr
    4.27 +imgfree
    4.28 +kernel /pxe/tiny/bzImage.gz
    4.29 +initrd /pxe/tiny/rootfs-fr.gz
    4.30 +boot
    4.31 +goto menu
    4.32 +
    4.33 +:tinyvnc
    4.34 +imgfree
    4.35 +kernel /pxe/tiny/vnc/bzImage.gz vga=ask
    4.36 +initrd /pxe/tiny/vnc/rootfs.gz
    4.37 +boot
    4.38 +goto menu
    4.39 +
    4.40 +:return
    4.41 +chain --autofree /pxe/ipxe/menu.ipxe
    4.42 +goto menu
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/mirror/root/ipxe/tools.ipxe	Sat Jan 23 15:45:00 2016 +0100
     5.3 @@ -0,0 +1,35 @@
     5.4 +#!ipxe
     5.5 +
     5.6 +set menu-timeout 3000
     5.7 +
     5.8 +:menu
     5.9 +menu SliTaz Web boot
    5.10 +item --key q return ..
    5.11 +item --gap
    5.12 +item --gap Third party tools:
    5.13 +item memtest Memtest86+
    5.14 +item memtest4 Memtest86+ 4.20
    5.15 +item ubcd535 Universal boot CD version 5.3.5
    5.16 +choose --timeout ${menu-timeout} target || goto exit
    5.17 +set menu-timeout 0
    5.18 +goto ${target}
    5.19 +
    5.20 +:memtest4
    5.21 +imgfree
    5.22 +kernel /pxe/memtest-4.20
    5.23 +boot
    5.24 +goto menu
    5.25 +
    5.26 +:memtest
    5.27 +imgfree
    5.28 +kernel /pxe/memtest
    5.29 +boot
    5.30 +goto menu
    5.31 +
    5.32 +:ubcd535
    5.33 +sanboot http://cdn.removed.us/ubcd/ubcd535.iso ||
    5.34 +goto menu
    5.35 +
    5.36 +:return
    5.37 +chain --autofree /pxe/ipxe/menu.ipxe
    5.38 +goto menu
     6.1 --- a/mirror/root/pxe/defaults.cfg	Tue Jan 19 22:09:42 2016 +0100
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,17 +0,0 @@
     6.4 -default menu.c32
     6.5 -prompt 0
     6.6 -
     6.7 -MENU TITLE Slitaz Web boot                                       http://www.slitaz.org/
     6.8 -ALLOWOPTIONS 0
     6.9 -MENU MARGIN 0
    6.10 -MENU ROWS 17
    6.11 -MENU COLOR BORDER       37;44 #40000000 #00000000 std
    6.12 -MENU COLOR TITLE      1;33;44 #c00090f0 #00000000 std
    6.13 -MENU COLOR SCROLLBAR    37;44 #40000000 #00000000 std
    6.14 -
    6.15 -#MENU COLOR TIMEOUT_MSG 1;33;44 #c00090f0 #00000000 std
    6.16 -#MENU COLOR TIMEOUT       37;40 #80ffffff #00000000 std
    6.17 -MENU TIMEOUTROW 25
    6.18 -MENU AUTOBOOT Start cooking in # second{,s}
    6.19 -timeout 100
    6.20 -TOTALTIMEOUT 9000
     7.1 --- a/mirror/root/pxe/mkcfg.sh	Tue Jan 19 22:09:42 2016 +0100
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,176 +0,0 @@
     7.4 -#!/bin/sh
     7.5 -
     7.6 -#usage:
     7.7 -# copy /boot/isolinux/* <version>
     7.8 -# remove *.cfg
     7.9 -# copy then update /boot/isolinux/isolinux.cfg <version>core.cfg
    7.10 -
    7.11 -cd $(dirname $0)
    7.12 -
    7.13 -# Status functions.
    7.14 -status()
    7.15 -{
    7.16 -	local CHECK=$?
    7.17 -	echo -en "\\033[70G[ "
    7.18 -	if [ $CHECK = 0 ]; then
    7.19 -		echo -en "\\033[1;33mOK"
    7.20 -	else
    7.21 -		echo -en "\\033[1;31mFailed"
    7.22 -	fi
    7.23 -        echo -e "\\033[0;39m ]"
    7.24 -}
    7.25 -
    7.26 -directlinks()
    7.27 -{
    7.28 -	mkdir $1/$2
    7.29 -	ln -s .. $1/$2/$1
    7.30 -	ln -s ../$2.cfg $1/$2/default
    7.31 -	ln -s ../../pxelinux.0 $1/$2/pxelinux.0
    7.32 -	ln -s . $1/$2/pxelinux.cfg
    7.33 -	[ -e $1/boot ] || ln -s ../../boot $1/boot
    7.34 -}
    7.35 -for version in cooking $(ls ../boot | grep 0$) ; do
    7.36 -
    7.37 -[ "$version" = "1.0" ] && continue
    7.38 -echo -n "Building $version"
    7.39 -for i in splash.lss isolinux.msg core.cfg ; do
    7.40 -	[ -s $version/$i ] && continue
    7.41 -	echo -n " $version/$i not found !"
    7.42 -	false
    7.43 -	status
    7.44 -	continue 2
    7.45 -done
    7.46 -if ! grep -q $version/splash.lss $version/isolinux.msg ; then
    7.47 -	echo "WARNING: please update $version/isolinux.msg with $version/splash.lss"
    7.48 -fi
    7.49 -rm -f $version/*-*.cfg
    7.50 -( cd ../boot/$version ; ls rootfs-*.gz 2> /dev/null ) | \
    7.51 -sed 's/rootfs-\(.*\).gz/\1/' | while read flavor; do
    7.52 -	lowcased=$(echo $flavor | tr [A-Z] [a-z])
    7.53 -	if [ "$lowcased" != "$flavor" ]; then
    7.54 -		echo ""
    7.55 -		echo "Warning : renaming ../boot/$version/rootfs-$flavor.gz to ../boot/$version/rootfs-$lowcased.gz"
    7.56 -		mv ../boot/$version/rootfs-$flavor.gz ../boot/$version/rootfs-$lowcased.gz
    7.57 -		flavor=$lowcased
    7.58 -	fi
    7.59 -    	[ -f $version/$flavor.cfg ] && continue
    7.60 -        cp $version/core.cfg $version/$flavor.cfg
    7.61 -	sed -i -e "s/core-common/$flavor-common/" \
    7.62 -	       -e "s/^label slitaz$/say Using $flavor flavor.\nlabel slitaz/" \
    7.63 -	       -e "s/rootfs.gz/rootfs-$flavor.gz/" $version/$flavor.cfg
    7.64 -	directlinks $version $flavor
    7.65 -done
    7.66 -for flavor in $(cd $version ; ls *.cfg | sed 's/.cfg//') ; do
    7.67 -  echo -n " $flavor"
    7.68 -  cat > $version/$flavor-common.cfg <<EOT
    7.69 -default slitaz
    7.70 -label deCH
    7.71 -	config $version/$flavor-de_CH.cfg
    7.72 -label frCH
    7.73 -	config $version/$flavor-fr_CH.cfg
    7.74 -label reboot
    7.75 -	com32 reboot.c32
    7.76 -
    7.77 -implicit 0	
    7.78 -prompt 1	
    7.79 -timeout 80
    7.80 -F1 $version/help.txt
    7.81 -F2 $version/options.txt
    7.82 -F3 $version/isolinux.msg
    7.83 -F4 $version/display.txt
    7.84 -F5 $version/enhelp.txt
    7.85 -F6 $version/enopts.txt
    7.86 -
    7.87 -EOT
    7.88 -  while read cfg kbd loc ; do
    7.89 -    if [ ! -f $version/$cfg.kbd ]; then
    7.90 -    	echo ""
    7.91 -	echo "Not found: $version/$cfg.kbd"
    7.92 -    fi
    7.93 -    info="Now using $kbd keyboard and $loc locale."
    7.94 -    sed -e "s/^display/kbdmap $version\/$cfg.kbd\ndisplay/" \
    7.95 -        -e "s/^label slitaz$/say $info\nlabel slitaz/" \
    7.96 -        -e "s/gz/gz lang=$loc kmap=$kbd/" \
    7.97 -        < $version/$flavor.cfg > $version/$flavor-$cfg.cfg
    7.98 -    cat >> $version/$flavor-common.cfg <<EOT
    7.99 -label $cfg
   7.100 -	config $version/$flavor-$cfg.cfg
   7.101 -EOT
   7.102 -  done <<EOT
   7.103 -be    be-latin1    fr_FR
   7.104 -br    br-abnt2     pt_PT
   7.105 -ca    cf           fr_FR
   7.106 -de    de-latin1    de_DE
   7.107 -de_CH de_CH-latin1 de_DE
   7.108 -en    uk           C
   7.109 -es    es           es_ES
   7.110 -fi    fi-latin1    fi
   7.111 -fr    fr-latin1    fr_FR
   7.112 -fr_CH fr_CH-latin1 fr_FR
   7.113 -hu    hu           hu
   7.114 -it    it           it_IT
   7.115 -jp    jp106        jp_JP
   7.116 -pt    pt-latin1    pt_PT
   7.117 -ru    ru           ru_RU
   7.118 -us    us           C
   7.119 -EOT
   7.120 -done
   7.121 -status
   7.122 -
   7.123 -done
   7.124 -
   7.125 -echo -n "Building 1.0"
   7.126 -rm -f 1.0/*-*.cfg
   7.127 -( cd ../boot/1.0 ; ls rootfs-*.gz 2> /dev/null ) | \
   7.128 -sed 's/rootfs-\(.*\).gz/\1/' | while read flavor; do
   7.129 -    	[ -f 1.0/$flavor.cfg ] && continue
   7.130 -        cp 1.0/core.cfg 1.0/$flavor.cfg
   7.131 -	sed -i -e "s/core-common/$flavor-common/" \
   7.132 -	       -e "s/rootfs.gz/rootfs-$flavor.gz/" 1.0/$flavor.cfg
   7.133 -	directlinks 1.0 $flavor
   7.134 -done
   7.135 -directlinks 1.0 core
   7.136 -for flavor in $(cd 1.0; ls *.cfg | sed 's/.cfg//') ; do
   7.137 -  echo -n " $flavor"
   7.138 -  cat > 1.0/$flavor-common.cfg <<EOT
   7.139 -default slitaz
   7.140 -
   7.141 -label def
   7.142 -	config 1.0/$flavor.cfg
   7.143 -
   7.144 -label reboot
   7.145 -	com32 reboot.c32
   7.146 -
   7.147 -implicit 0	
   7.148 -prompt 1	
   7.149 -timeout 80
   7.150 -F1 1.0/help.txt
   7.151 -F2 1.0/options.txt
   7.152 -F3 1.0/isolinux.msg
   7.153 -F4 1.0/display.txt
   7.154 -EOT
   7.155 -  while read cfg kbd loc ; do
   7.156 -    if [ ! -f 1.0/$cfg.kbd ]; then
   7.157 -    	echo ""
   7.158 -	echo "Not found: 1.0/$cfg.kbd"
   7.159 -    fi
   7.160 -    sed -e "s/^display/KBDMAP 1.0\/$cfg.kbd\ndisplay/" \
   7.161 -        -e "s/gz/gz lang=$loc kmap=$kbd/" \
   7.162 -        < 1.0/$flavor.cfg > 1.0/$flavor-$cfg.cfg
   7.163 -    cat >> 1.0/$flavor-common.cfg <<EOT
   7.164 -label $cfg
   7.165 -	config 1.0/$flavor-$cfg.cfg
   7.166 -EOT
   7.167 -  done <<EOT
   7.168 -be    be    fr
   7.169 -ca    ca    fr
   7.170 -de_CH fr_CH fr_CH
   7.171 -en    en    en
   7.172 -es    es    en
   7.173 -fr    fr    fr
   7.174 -fr_CH fr_CH fr_CH
   7.175 -it    it    en
   7.176 -us    us    en
   7.177 -EOT
   7.178 -done
   7.179 -status
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/mirror/root/pxe/pxelinux.cfg/default	Sat Jan 23 15:45:00 2016 +0100
     8.3 @@ -0,0 +1,5 @@
     8.4 +default ipxe
     8.5 +say Switching to IPXE configuration...
     8.6 +
     8.7 +label ipxe
     8.8 +	kernel http://mirror1.slitaz.org/pxe/ipxe2016