summaryrefslogtreecommitdiff
path: root/examples/cron/weekly.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:12 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:19:41 +0100
commit504c05c3a63de0af4fd0e876274afc039c5c0ed1 (patch)
tree5a29d0f82735a131c9319b5b825c57b740584d13 /examples/cron/weekly.sh
parent37a5c53ddd2825bf6b0ce521908a63d419683981 (diff)
downloadvyos-live-build-504c05c3a63de0af4fd0e876274afc039c5c0ed1.tar.gz
vyos-live-build-504c05c3a63de0af4fd0e876274afc039c5c0ed1.zip
Adding live-helper 1.0~a15-1.
Diffstat (limited to 'examples/cron/weekly.sh')
-rwxr-xr-xexamples/cron/weekly.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/cron/weekly.sh b/examples/cron/weekly.sh
index 54aa092d7..6f4003ecf 100755
--- a/examples/cron/weekly.sh
+++ b/examples/cron/weekly.sh
@@ -11,7 +11,7 @@ DATE="`date +%Y%m%d`"
DESTDIR="/srv/debian-unofficial/ftp/debian-live"
TEMPDIR="/srv/tmp/live-helper"
-OPTIONS="--binary-indices disabled --initramfs casper"
+OPTIONS="--binary-indices disabled --initramfs live-initramfs"
ARCHITECTURES="`dpkg --print-architecture`"
DISTRIBUTIONS="lenny"
@@ -82,7 +82,7 @@ do
# Moving logs
mv "${TEMPDIR}"/debian-live/log.txt "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-iso-log.txt
- mv "${TEMPDIR}"/debian-live/packages.txt "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-iso-packages.txt
+ mv "${TEMPDIR}"/debian-live/binary/packages.txt "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-iso-packages.txt
# Creating images directory
mkdir -p "${DESTDIR}"/"${BUILD}"-builds/${DATE}/${ARCHITECTURE}
@@ -96,10 +96,10 @@ do
if [ ! -f "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-usb-hdd-log.txt ]
then
# Workaround of missing multi-binary support in live-helper
- mv "${TEMPDIR}"/debian-live/binary/casper "${TEMPDIR}"/debian-live/casper.tmp
+ mv "${TEMPDIR}"/debian-live/binary/live "${TEMPDIR}"/debian-live/live.tmp
rm -rf "${TEMPDIR}"/debian-live/binary* "${TEMPDIR}"/debian-live/.stage/binary_*
mkdir "${TEMPDIR}"/debian-live/binary
- mv "${TEMPDIR}"/debian-live/casper.tmp "${TEMPDIR}"/debian-live/binary/casper
+ mv "${TEMPDIR}"/debian-live/live.tmp "${TEMPDIR}"/debian-live/binary/live
touch "${TEMPDIR}"/debian-live/.stage/binary_chroot
touch "${TEMPDIR}"/debian-live/.stage/binary_rootfs