diff options
author | Daniel Baumann <daniel@debian.org> | 2011-07-20 11:05:27 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-07-20 11:05:27 +0200 |
commit | 6a844f1bb27755192722b3bc21ef247cabaec891 (patch) | |
tree | e44f59f0e614202ed288903650920a425b402ffb /debian/tmp | |
parent | b3e6ff2e14f3d2763547fb0c523af8ee23317124 (diff) | |
download | vyos-live-build-6a844f1bb27755192722b3bc21ef247cabaec891.tar.gz vyos-live-build-6a844f1bb27755192722b3bc21ef247cabaec891.zip |
Reworking debconf stuff of merging former live-autobuild-manual and live-autobuild-images into a single live-build-cron.
Diffstat (limited to 'debian/tmp')
-rw-r--r-- | debian/tmp/live-build-cron-manual.config | 50 | ||||
-rw-r--r-- | debian/tmp/live-build-cron-manual.templates | 29 |
2 files changed, 0 insertions, 79 deletions
diff --git a/debian/tmp/live-build-cron-manual.config b/debian/tmp/live-build-cron-manual.config deleted file mode 100644 index 264477825..000000000 --- a/debian/tmp/live-build-cron-manual.config +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh - -set -e - -. /usr/share/debconf/confmodule - -_FILES="/etc/live/autobuild.conf /etc/live/autobuild.d/*" - -for _FILE in "${_FILES}" -do - if [ -e "${_FILE}" ] - then - _DEBCONF="true" - - . "${_FILE}" || true - fi -done - -if [ "${_DEBCONF}" = "true" ] -then - db_set live-autobuild-manual/enable "${LIVE_AUTOBUILD_MANUAL}" -fi - -db_settitle live-autobuild-manual/title -db_input high live-autobuild-manual/enable || true -db_go - -db_get live-autobuild-manual/enable -LIVE_AUTOBUILD_MANUAL="${RET}" - -if [ "${LIVE_AUTOBUILD_MANUAL}" != "true" ] -then - db_stop - - exit 0 -fi - -db_settitle live-autobuild-manual/title -db_input low live-autobuild-manual/username || true -db_go - -db_settitle live-autobuild-manual/title -db_input low live-autobuild-manual/directory || true -db_go - -db_settitle live-autobuild-manual/title -db_input low live-autobuild-manual/cron || true -db_go - -db_stop diff --git a/debian/tmp/live-build-cron-manual.templates b/debian/tmp/live-build-cron-manual.templates deleted file mode 100644 index 9baa0a0e8..000000000 --- a/debian/tmp/live-build-cron-manual.templates +++ /dev/null @@ -1,29 +0,0 @@ -Template: live-autobuild-manual/title -Type: title -Description: Debian Live - System Build Scripts - -Template: live-autobuild-manual/enable -Type: boolean -Default: false -Description: Enable live-autobuild-manual? - Do you want to enable live-autobuild-manual? - . - If unsure, use 'no' (default). - -Template: live-autobuild-manual/username -Type: string -Default: live-autobuild-manual -Description: What useraccount to use to build the manual? - Enter the name of the username. - -Template: live-autobuild-manual/directory -Type: string -Default: /srv/debian.net/live-manual -Description: What directory to put builds to? - Enter the directory where the manual should be stored in. - -Template: live-autobuild-manual/cron -Type: string -Default: 0-59/10 * * * * -Description: What directory to put builds to? - Enter the cron times where the manual should be build. |