summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-08-24 20:34:01 +0200
committerDaniel Baumann <daniel@debian.org>2011-08-24 22:46:32 +0200
commit3ceb68b7d4eb5b28269c0780a808c3725c5f5668 (patch)
treeffcf3feed5e674de5a814b5e5269cd20c0042bfc /functions
parent9d73420afc451a6367bec6873c74c649d08b9c01 (diff)
downloadvyos-live-build-3ceb68b7d4eb5b28269c0780a808c3725c5f5668.tar.gz
vyos-live-build-3ceb68b7d4eb5b28269c0780a808c3725c5f5668.zip
Introducing --apt-sources option to control if the live system should have deb-src entries in sources.list.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 3fc895f44..c87237ae7 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -100,6 +100,9 @@ Set_defaults ()
# Setting apt secure
LB_APT_SECURE="${LB_APT_SECURE:-true}"
+ # Setting apt source
+ LB_APT_SOURCE="${LB_APT_SOURCE:-true}"
+
# Setting bootstrap program
if [ -z "${LB_BOOTSTRAP}" ] || ( [ ! -x "$(which ${LB_BOOTSTRAP} 2>/dev/null)" ] && [ "${LB_BOOTSTRAP}" != "copy" ] )
then