diff options
author | Daniel Baumann <daniel@debian.org> | 2010-03-12 18:33:22 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2010-03-14 18:23:23 +0100 |
commit | 952449650be5e4fde6ff96866575d2fc173db2c1 (patch) | |
tree | 523c6b065883b356beda4677fd5955685be1ff56 | |
parent | 6647af26e471e8f568f13732de725c6bf07fa492 (diff) | |
download | vyos-live-build-952449650be5e4fde6ff96866575d2fc173db2c1.tar.gz vyos-live-build-952449650be5e4fde6ff96866575d2fc173db2c1.zip |
Updating autobuild script for squeeze alpha1 images.
-rwxr-xr-x | examples/cron/images.sh | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/examples/cron/images.sh b/examples/cron/images.sh index b875e86f2..8abdf39e3 100755 --- a/examples/cron/images.sh +++ b/examples/cron/images.sh @@ -68,7 +68,7 @@ Set_defaults () DEBIAN_INSTALLER_GUI="false" LIVE_INSTALLER="16" - LIVE_INITRAMFS="1.173.3-1" + LIVE_INITRAMFS="1.173.4-1" mkdir -p config/binary_local-udebs cd config/binary_local-udebs @@ -126,11 +126,10 @@ do --mirror-chroot-security ${MIRROR_SECURITY} \ ${PACKAGES} \ --packages-lists ${FLAVOUR} \ - --source ${SOURCE} \ --tasksel ${TASKSEL} ${KERNEL} # TEMPORARY HACK until memtest86+ maintainers fixes his package - if [ ${FLAVOUR} = rescue ] + if [ ${DISTRIBUTION} = "squeeze" ] && [ ${FLAVOUR} = rescue ] then lh config --memtest none fi @@ -141,12 +140,6 @@ do mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.list mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.packages - if [ "${SOURCE}" = "true" ] - then - mv source.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz - mv source.list debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz.list - fi - if [ "${DISTRIBUTION}" = "lenny" ] then lh clean --binary @@ -162,12 +155,25 @@ do rm -rf cache/stages_rootfs lh config --binary-images net - lh build 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}-net.tar.gz.log + lh build 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.log - mv binary-net.tar.gz debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}-net.tar.gz - mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}-net.tar.gz.list - mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}-net.tar.gz.packages + mv binary-net.tar.gz debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz + mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.list + mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.packages mv binary/*/filesystem.squashfs debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.squashfs + for memtest in tftpboot/debian-live/${ARCHITECTURE}/memtest*; do cp -f ${memtest} debian-live-${DISTRIBUTION}-${ARCHITECTURE}.$(basename ${memtest}); done || true + for kernel in tftpboot/debian-live/${ARCHITECTURE}/vmlinuz*; do cp -f ${kernel} debian-live-${DISTRIBUTION}-${ARCHITECTURE}.$(basename ${kernel}); done + for initrd in tftpboot/debian-live/${ARCHITECTURE}/initrd*; do cp ${initrd} debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.$(basename ${initrd}); done + + if [ "${SOURCE}" = "true" ] + then + lh config --source true + + lh source 2>&1 | tee debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz.log + + mv source.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz + mv source.list debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz.list + fi done done |