diff options
author | Daniel Baumann <daniel@debian.org> | 2012-06-05 20:25:23 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-06-06 19:59:13 +0200 |
commit | 2c5004a3583c3535e7d40d5eacad0b3b876b65b0 (patch) | |
tree | 89fc773984d5d32f5a400d83a2a90d1728ae988c /cron/live-build-cron-manual | |
parent | e906e7846210ef27e75dd35c65156d22d9c5ae23 (diff) | |
download | vyos-live-build-2c5004a3583c3535e7d40d5eacad0b3b876b65b0.tar.gz vyos-live-build-2c5004a3583c3535e7d40d5eacad0b3b876b65b0.zip |
Re-arranging frontends in source tree.
Diffstat (limited to 'cron/live-build-cron-manual')
-rwxr-xr-x | cron/live-build-cron-manual | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/cron/live-build-cron-manual b/cron/live-build-cron-manual deleted file mode 100755 index 6d539ced8..000000000 --- a/cron/live-build-cron-manual +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -## live-build(7) - System Build Scripts -## Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org> -## -## live-build comes with ABSOLUTELY NO WARRANTY; for details see COPYING. -## This is free software, and you are welcome to redistribute it -## under certain conditions; see COPYING for details. - - -#set -e - -Init () -{ - if [ -e /etc/live/build-cron.conf ] - then - . /etc/live/build-cron.conf - fi - - if ls /etc/live/build-cron.d/* > /dev/null 2>&1 - then - for _FILE in /etc/live/build-cron.d/* - do - . "${_FILE}" - done - fi - - if [ "${LIVE_BUILD_CRON_MANUAL}" != "true" ] - then - echo "I: live-build-cron-manual disabled." - exit 0 - fi - - mkdir -p "${LIVE_BUILD_CRON_MANUAL_DIRECTORY}" - - if [ ! -d "${LIVE_BUILD_CRON_MANUAL_DIRECTORY}" ] - then - echo "E: live-build-cron-manual directory not set." - exit 1 - fi -} - -Setup () -{ - _TMPDIR="$(mktemp -d -t live-build-cron-manual.XXXXXXXX)" - - cd "${_TMPDIR}" - git clone git://live.debian.net/git/live-manual.git - - cd live-manual && git checkout debian-next -} - -Build () -{ - cd "${_TMPDIR}/live-manual" - - echo "live-build-cron-manual: $(LC_ALL=C date -R) on ${_HOSTNAME}" | tee build.log - echo "Using the following sisu package versions: " | tee -a build.log - - for _PACKAGE in $(dpkg --get-selections | awk '/^sisu/ { print $1 }') - do - echo ${_PACKAGE} $(apt-cache policy $package | awk '/Installed: / { print $2 }') | tee -a build.log - done - - make DEBUG=1 autobuild 2>&1 | tee -a build.log -} - -Install () -{ - cd "${LIVE_BUILD_CRON_MANUAL_DIRECTORY}" - rm -rf * - - mv "${_TMPDIR}/live-manual/build/"* ./ - mv "${_TMPDIR}/live-manual/build.log" ./ -} - -Clean () -{ - rm -rf "${_TMPDIR}" -} - -Trace () -{ - echo "$(LC_ALL=C date -R)" > "${LIVE_BUILD_CRON_MANUAL_DIRECTORY}/manual-trace" -} - -Main () -{ - Init - Setup - - Build - Install - Clean - - Trace -} - -Main |