diff options
author | Daniel Baumann <daniel@debian.org> | 2010-09-30 07:05:22 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:20:32 +0100 |
commit | fc4cae9389733ba2a40604232f94c5f30d3b7c50 (patch) | |
tree | df3b9f596a9a2c62172610de5ec95df1e1a87938 /examples/cron/images.sh | |
parent | 972aca95565acbee8ae6c57cea3068b64109efb7 (diff) | |
download | vyos-live-build-fc4cae9389733ba2a40604232f94c5f30d3b7c50.tar.gz vyos-live-build-fc4cae9389733ba2a40604232f94c5f30d3b7c50.zip |
Updating images autobuild script for squeeze beta1.
Diffstat (limited to 'examples/cron/images.sh')
-rwxr-xr-x | examples/cron/images.sh | 76 |
1 files changed, 47 insertions, 29 deletions
diff --git a/examples/cron/images.sh b/examples/cron/images.sh index a6aebd95d..843db476e 100755 --- a/examples/cron/images.sh +++ b/examples/cron/images.sh @@ -20,8 +20,6 @@ Set_defaults () APT_RECOMMENDS="true" BINARY_INDICES="true" DEBIAN_INSTALLER="live" - DEBIAN_INSTALLER_GUI="true" - PACKAGES="--packages live-installer-launcher" TASKSEL="tasksel" # Distribution specific options (ugly!) @@ -30,7 +28,6 @@ Set_defaults () APT_RECOMMENDS="false" BINARY_INDICES="true" DEBIAN_INSTALLER="false" - PACKAGES="" TASKSEL="aptitude" case "${ARCHITECTURE}" in @@ -66,38 +63,61 @@ Set_defaults () squeeze) DEBIAN_INSTALLER_DISTRIBUTION="daily" - DEBIAN_INSTALLER_GUI="false" - LIVE_INSTALLER="20" - LIVE_BOOT="2.0~a15-1" - LIVE_CONFIG="2.0~a15-1" + LIVE_BOOT="2.0.6-1" + LIVE_CONFIG="2.0.7-1" + LIVE_INSTALLER="26" + DI_LAUNCHER="3" + + mkdir -p config/chroot_local-packages + cd config/chroot_local-packages + + # live-boot + if [ -n "${LIVE_BOOT}" ] + then + wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_${LIVE_BOOT}.dsc + wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_${LIVE_BOOT}.diff.gz + wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_$(echo ${LIVE_BOOT} | awk -F- '{ print $1 }').orig.tar.gz + wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_${LIVE_BOOT}_all.deb + wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot-initramfs-tools_${LIVE_BOOT}_all.deb + wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-initramfs_${LIVE_BOOT}_all.deb + fi + + # live-config + if [ -n "${LIVE_CONFIG}" ] + then + wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_${LIVE_CONFIG}.dsc + wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_${LIVE_CONFIG}.diff.gz + wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_$(echo ${LIVE_CONFIG} | awk -F- '{ print $1 }').orig.tar.gz + wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_${LIVE_CONFIG}_all.deb + wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config-sysvinit_${LIVE_CONFIG}_all.deb + fi + + cd ${OLDPWD} mkdir -p config/binary_local-udebs cd config/binary_local-udebs - wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer_${LIVE_INSTALLER}.dsc - wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer_${LIVE_INSTALLER}.tar.gz - wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer_${LIVE_INSTALLER}_i386.udeb + + # live-installer + if [ -n "${LIVE_INSTALLER}" ] + then + wget -c http://ftp.debian.org/debian/pool/main/l/live-installer/live-installer_${LIVE_INSTALLER}.dsc + wget -c http://ftp.debian.org/debian/pool/main/l/live-installer/live-installer_${LIVE_INSTALLER}.tar.gz + wget -c http://ftp.debian.org/debian/pool/main/l/live-installer/live-installer_${LIVE_INSTALLER}_${ARCHITECTURE}.udeb + fi + cd - mkdir -p config/chroot_local-packages cd config/chroot_local-packages - wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer_${LIVE_INSTALLER}.dsc - wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer_${LIVE_INSTALLER}.tar.gz - wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer-launcher_${LIVE_INSTALLER}_all.deb - - wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_${LIVE_BOOT}.dsc - wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_${LIVE_BOOT}.diff.gz - wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_$(echo ${LIVE_BOOT} | awk -F- '{ print $1 }').orig.tar.gz - wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_${LIVE_BOOT}_all.deb - wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot-initramfs-tools_${LIVE_BOOT}_all.deb - wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-initramfs_${LIVE_BOOT}_all.deb - - wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_${LIVE_CONFIG}.dsc - wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_${LIVE_CONFIG}.diff.gz - wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_$(echo ${LIVE_CONFIG} | awk -F- '{ print $1 }').orig.tar.gz - wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_${LIVE_CONFIG}_all.deb - wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config-sysvinit_${LIVE_CONFIG}_all.deb + # debian-installer-launcher + if [ -n "${DI_LAUNCHER}" ] + then + wget http://ftp.debian.org/debian/pool/main/d/debian-installer-launcher/debian-installer-launcher_${DI_LAUNCHER}.dsc + wget http://ftp.debian.org/debian/pool/main/d/debian-installer-launcher/debian-installer-launcher_${DI_LAUNCHER}.tar.gz + wget http://ftp.debian.org/debian/pool/main/d/debian-installer-launcher/debian-installer-launcher_${DI_LAUNCHER}_all.deb + fi cd - ;; @@ -133,12 +153,10 @@ do --cache-stages "bootstrap rootfs" \ --debian-installer ${DEBIAN_INSTALLER} \ --debian-installer-distribution ${DEBIAN_INSTALLER_DISTRIBUTION} \ - --debian-installer-gui ${DEBIAN_INSTALLER_GUI} \ --distribution ${DISTRIBUTION} \ --mirror-bootstrap ${MIRROR} \ --mirror-chroot ${MIRROR} \ --mirror-chroot-security ${MIRROR_SECURITY} \ - ${PACKAGES} \ --packages-lists ${FLAVOUR} \ --tasksel ${TASKSEL} ${KERNEL} @@ -148,7 +166,7 @@ do mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.list mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.packages - if [ "${DISTRIBUTION}" = "lenny" ] && [ "${ARCHITECTURE}" != "powerpc" ] + if [ "${ARCHITECTURE}" != "powerpc" ] then lb clean --binary lb config -binary-images usb-hdd |