diff options
author | Daniel Baumann <daniel@debian.org> | 2010-09-02 14:45:03 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:19 +0100 |
commit | f96497842018f2eca17715318d6b7cfbb69f50e8 (patch) | |
tree | 306d88780553cd3ad2c56d9ad2a529187e97affd /examples/cron/cron.daily | |
parent | 36dee770cd97821d549d259cce9d39a49fcbdb62 (diff) | |
download | vyos-live-build-f96497842018f2eca17715318d6b7cfbb69f50e8.tar.gz vyos-live-build-f96497842018f2eca17715318d6b7cfbb69f50e8.zip |
Replacing some references to live-helper with live-build in examples.
Diffstat (limited to 'examples/cron/cron.daily')
-rwxr-xr-x | examples/cron/cron.daily | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/cron/cron.daily b/examples/cron/cron.daily index ea630f793..561075687 100755 --- a/examples/cron/cron.daily +++ b/examples/cron/cron.daily @@ -5,18 +5,18 @@ set -e BUILD="daily" HOST="$(hostname)" -# Checking for live-helper availability -if [ ! -x /usr/bin/lh_config ] +# Checking for live-build availability +if [ ! -x /usr/bin/lb ] then exit 0 fi -# Checking for live-helper defaults -if [ -r /etc/default/live-helper_autobuild ] +# Checking for live-build defaults +if [ -r /etc/default/live-build_autobuild ] then - . /etc/default/live-helper_autobuild + . /etc/default/live-build_autobuild else - echo "E: /etc/default/live-helper_autobuild missing." + echo "E: /etc/default/live-build_autobuild missing." exit 1 fi @@ -36,7 +36,7 @@ else exit 1 fi -echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-helper: begin daily build." >> /var/log/live +echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-build: begin daily build." >> /var/log/live for ARCHITECTURE in ${ARCHITECTURES} do @@ -79,7 +79,7 @@ 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 + # Workaround of missing multi-binary support in live-build mv "${TEMPDIR}"/debian-live/binary/casper "${TEMPDIR}"/debian-live/casper.tmp rm -rf "${TEMPDIR}"/debian-live/binary* "${TEMPDIR}"/debian-live/.stage/binary_* mkdir "${TEMPDIR}"/debian-live/binary @@ -152,4 +152,4 @@ done rm -f "${DESTDIR}"/"${BUILD}"-builds/current ln -s ${DATE} "${DESTDIR}"/"${BUILD}"-builds/current -echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-helper: end daily build." >> /var/log/live +echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-build: end daily build." >> /var/log/live |