summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:52 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commitbd1a5ddc8203907eb40135303bea5488397ec5d0 (patch)
treee1cdc0adec3e4799f5db5ad1a8b34800e28a9439 /functions/defaults.sh
parent8a4a50fdb6b206fbff62fd3043ed388f25a0ffb1 (diff)
downloadvyos-live-build-bd1a5ddc8203907eb40135303bea5488397ec5d0.tar.gz
vyos-live-build-bd1a5ddc8203907eb40135303bea5488397ec5d0.zip
Adding live-helper 1.0~a8-1.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh50
1 files changed, 36 insertions, 14 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 433360870..0c923b60b 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -120,9 +120,19 @@ Set_defaults ()
fi
# Setting cache option
- if [ -z "${LH_CACHE}" ]
+ if [ -z "${LH_CACHE_INDICES}" ]
then
- LH_CACHE="enabled"
+ LH_CACHE_INDICES="disabled"
+ fi
+
+ if [ -z "${LH_CACHE_PACKAGES}" ]
+ then
+ LH_CACHE_PACKAGES="enabled"
+ fi
+
+ if [ -z "${LH_CACHE_STAGES}" ]
+ then
+ LH_CACHE_STAGES="bootstrap"
fi
# Setting debconf frontend
@@ -176,6 +186,12 @@ Set_defaults ()
LH_TASKSEL="aptitude"
fi
+ # Setting initramfs generator
+ if [ -z "${LH_INITRAMFS}" ]
+ then
+ LH_INITRAMFS="casper"
+ fi
+
# Setting root directory
if [ -z "${LIVE_ROOT}" ]
then
@@ -190,6 +206,18 @@ Set_defaults ()
esac
fi
+ # Setting includes
+ if [ -z "${LIVE_INCLUDES}" ]
+ then
+ LIVE_INCLUDES="/usr/share/live-helper/includes"
+ fi
+
+ # Setting templates
+ if [ -z "${LIVE_TEMPLATES}" ]
+ then
+ LIVE_TEMPLATES="/usr/share/live-helper/templates"
+ fi
+
# Setting live helper options
if [ -z "${LH_BREAKPOINTS}" ]
then
@@ -549,6 +577,12 @@ Set_defaults ()
LIVE_MEMTEST="memtest86+"
fi
+ # Setting debian-installer option
+ if [ -z "${LIVE_DEBIAN_INSTALLER}" ]
+ then
+ LIVE_DEBIAN_INSTALLER="disabled"
+ fi
+
# Setting iso volume
if [ -z "${LIVE_ISO_VOLUME}" ]
then
@@ -608,16 +642,4 @@ Set_defaults ()
# Setting syslinux splash
# LIVE_SYSLINUX_SPLASH
-
- # Setting includes
- if [ -z "${LIVE_INCLUDES}" ]
- then
- LIVE_INCLUDES="/usr/share/live-helper/includes"
- fi
-
- # Setting templates
- if [ -z "${LIVE_TEMPLATES}" ]
- then
- LIVE_TEMPLATES="/usr/share/live-helper/templates"
- fi
}