From ddb54865d0ed1863ad93a40138ef1d1252dc2fe6 Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Fri, 30 Jan 2009 17:47:30 +0100 Subject: [PATCH] . --- var/install/build | 6 +++--- var/install/initrd/_build | 29 ++++++++++++++--------------- 2 files changed, 17 insertions(+), 18 deletions(-) rewrite var/install/initrd/_build (61%) diff --git a/var/install/build b/var/install/build index 4ad793b..79e2bb2 100755 --- a/var/install/build +++ b/var/install/build @@ -1,11 +1,11 @@ #!/bin/zsh -[[ -e tmp/isoimage/boot/ ]] || mkdir -p tmp/isoimage/boot/ +[[ -z $CORVIX ]] && export CORVIX=$PWD/ cd initrd -./makeinitrd +./_build cd .. cd syslinux -./makeisolinux +./_build cd .. diff --git a/var/install/initrd/_build b/var/install/initrd/_build dissimilarity index 61% index 3f3c296..3318310 100755 --- a/var/install/initrd/_build +++ b/var/install/initrd/_build @@ -1,15 +1,14 @@ -#!/bin/zsh -CORVIX=./ - -for distro in lenny etch;do - url=http://ftp.de.debian.org/debian/dists/$distro/main/installer-i386/current/images/netboot/netboot.tar.gz - - target=$CORVIX/isoimage/boot/$distro - [[ -d $target ]] || mkdir -p $target - - [[ -d tmp/$distro ]] || mkdir -p tmp/$distro - [[ -e tmp/$distro/netboot.tar.gz ]] || wget $url -O tmp/$distro/netboot.tar.gz - [[ -e tmp/$distro/debian-installer/i386/initrd.gz ]] || tar xzf tmp/$distro/netboot.tar.gz -C tmp/$distro/ - cp tmp/$distro/debian-installer/i386/initrd.gz $target/debian.gz - cp tmp/$distro/debian-installer/i386/linux $target/linux -done +#!/bin/zsh +tmp=$CORVIX/tmp +for distro in lenny etch;do + url=http://ftp.de.debian.org/debian/dists/$distro/main/installer-i386/current/images/netboot/netboot.tar.gz + + target=$CORVIX/isoimage/boot/$distro + [[ -d $target ]] || mkdir -p $target + + [[ -d $tmp/$distro ]] || mkdir -p $tmp/$distro + [[ -e $tmp/$distro/netboot.tar.gz ]] || wget $url -O $tmp/$distro/netboot.tar.gz + [[ -e $tmp/$distro/debian-installer/i386/initrd.gz ]] || tar xzf $tmp/$distro/netboot.tar.gz -C $tmp/$distro/ + cp $tmp/$distro/debian-installer/i386/initrd.gz $target/debian.gz + cp $tmp/$distro/debian-installer/i386/linux $target/linux +done -- 2.11.4.GIT