summaryrefslogtreecommitdiff
path: root/debian/live-build-cron.config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-07-09 18:22:14 +0200
committerDaniel Baumann <daniel@debian.org>2012-07-09 18:22:14 +0200
commit223b81fb28966809c30a5101059d404652b02e4b (patch)
tree3bf6fbaa55b1d74d695cf1c1b63ec140253049f5 /debian/live-build-cron.config
parent3cd505f7d4b2650d346e00e7f305328f26233674 (diff)
downloadvyos-live-build-223b81fb28966809c30a5101059d404652b02e4b.tar.gz
vyos-live-build-223b81fb28966809c30a5101059d404652b02e4b.zip
Removing discontinued live-build-cron autobuilder (Closes: #672379).
Diffstat (limited to 'debian/live-build-cron.config')
-rw-r--r--debian/live-build-cron.config100
1 files changed, 0 insertions, 100 deletions
diff --git a/debian/live-build-cron.config b/debian/live-build-cron.config
deleted file mode 100644
index e720e49a0..000000000
--- a/debian/live-build-cron.config
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-set -e
-
-. /usr/share/debconf/confmodule
-
-_FILES="/etc/live/build-cron.conf /etc/live/build-cron.d/*"
-
-for _FILE in "${_FILES}"
-do
- if [ -e "${_FILE}" ]
- then
- _DEBCONF="true"
-
- . "${_FILE}" || true
- fi
-done
-
-if [ "${_DEBCONF}" = "true" ]
-then
- # live-build-cron-images
- db_set live-build-cron/images-enable "${LIVE_BUILD_CRON_IMAGES}"
- db_set live-build-cron/images-directory "${LIVE_BUILD_CRON_IMAGES_DIRECTORY}"
- db_set live-build-cron/images-build "${LIVE_BUILD_CRON_IMAGES_BUILD}"
-
- db_set live-build-cron/images-daily-distributions "${LIVE_BUILD_CRON_IMAGES_DAILY_DISTRIBUTIONS}"
- db_set live-build-cron/images-daily-flavours "${LIVE_BUILD_CRON_IMAGES_DAILY_FLAVOURS}"
-
- db_set live-build-cron/images-weekly-distributions "${LIVE_BUILD_CRON_IMAGES_WEEKLY_DISTRIBUTIONS}"
- db_set live-build-cron/images-weekly-flavours "${LIVE_BUILD_CRON_IMAGES_WEEKLY_FLAVOURS}"
-
- db_set live-build-cron/images-monthly-distributions "${LIVE_BUILD_CRON_IMAGES_MONTHLY_DISTRIBUTIONS}"
- db_set live-build-cron/images-monthly-flavours "${LIVE_BUILD_CRON_IMAGES_MONTHLY_FLAVOURS}"
-
- db_set live-build-cron/images-source "${LIVE_BUILD_CRON_IMAGES_SOURCE}"
-
- # live-build-cron-manual
- db_set live-build-cron/manual-enable "${LIVE_BUILD_CRON_MANUAL}"
-fi
-
-db_settitle live-build-cron/title
-db_input high live-build-cron/images-enable || true
-db_go
-
-db_get live-build-cron/images-enable
-LIVE_BUILD_CRON_IMAGES="${RET}"
-
-if [ "${LIVE_BUILD_CRON_IMAGES}" = "true" ]
-then
- db_settitle live-build-cron/title
- db_input low live-build-cron/images-directory || true
- db_go
-
- db_settitle live-build-cron/title
- db_input low live-build-cron/images-build || true
- db_go
-
- for _BUILDS in daily weekly monthly
- do
- db_settitle live-build-cron/title
- db_input low live-build-cron/images-${_BUILDS}-distributions || true
- db_go
-
- db_settitle live-build-cron/title
- db_input low live-build-cron/images-${_BUILDS}-flavours || true
- db_go
- done
-
- db_settitle live-build-cron/title
- db_input low live-build-cron/images-source || true
- db_go
-
- db_settitle live-build-cron/title
- db_input low live-build-cron/images-cron || true
- db_go
-fi
-
-db_settitle live-build-cron/title
-db_input high live-build-cron/manual-enable || true
-db_go
-
-db_get live-build-cron/manual-enable
-LIVE_BUILD_CRON_MANUAL="${RET}"
-
-if [ "${LIVE_BUILD_CRON_MANUAL}" = "true" ]
-then
- db_settitle live-build-cron/title
- db_input low live-build-cron/manual-username || true
- db_go
-
- db_settitle live-build-cron/title
- db_input low live-build-cron/manual-directory || true
- db_go
-
- db_settitle live-build-cron/title
- db_input low live-build-cron/manual-cron || true
- db_go
-fi
-
-db_stop