[SCM] debian-live/live-helper branch, master, updated. 1.0_a44-1-26-g6fe97be
Daniel Baumann
daniel at debian.org
Mon Apr 21 21:25:54 UTC 2008
The following commit has been merged in the master branch:
commit 6fe97be597b2dbeb97a2687dfc4a10304c614c0e
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Apr 21 23:22:46 2008 +0200
Getting architecture dynamically in images cron script.
diff --git a/examples/cron/images.sh b/examples/cron/images.sh
index 9fe08e7..672ff49 100755
--- a/examples/cron/images.sh
+++ b/examples/cron/images.sh
@@ -2,6 +2,7 @@
set -e
+ARCHITECTURE="$(dpkg --print-architecture)"
DATE="$(date +%Y%m%d)"
for DISTRIBUTION in etch lenny sid
@@ -33,20 +34,20 @@ do
fi
- lh build | tee debian-live-${DISTRIBUTION}-i386-${FLAVOUR}.iso.log
+ lh build | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.log
- mv binary.iso debian-live-${DISTRIBUTION}-i386-${FLAVOUR}.iso
- mv binary.list debian-live-${DISTRIBUTION}-i386-${FLAVOUR}.iso.list
- mv binary.packages debian-live-${DISTRIBUTION}-i386-${FLAVOUR}.iso.packages
+ mv binary.iso debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso
+ mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.list
+ mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.packages
mv source.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz
- mv source.list debian-live-${DISTRIBUTION}-i386-${FLAVOUR}.tar.gz.list
+ mv source.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.list
lh clean --binary
lh config -b usb-hdd
- lh binary | tee debian-live-${DISTRIBUTION}-i386-${FLAVOUR}.img.log
+ lh binary | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.log
- mv binary.img debian-live-${DISTRIBUTION}-i386-${FLAVOUR}.img
- mv binary.list debian-live-${DISTRIBUTION}-i386-${FLAVOUR}.img.list
- mv binary.packages debian-live-${DISTRIBUTION}-i386-${FLAVOUR}.img.packages
+ mv binary.img debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img
+ mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.list
+ mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.packages
done
done
--
debian-live/live-helper
More information about the debian-live-changes
mailing list