summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-10-16 09:02:09 +0200
committerDaniel Baumann <daniel@debian.org>2011-10-16 09:02:09 +0200
commitcf3e1d8911da42d20aabdd035afad5b2cf8f5560 (patch)
tree02c4a174d1191f189807d0f059a97641d10142e8
parent0c8bad24eabc52135b49845378f4f95e3c7201f4 (diff)
downloadvyos-live-build-cf3e1d8911da42d20aabdd035afad5b2cf8f5560.tar.gz
vyos-live-build-cf3e1d8911da42d20aabdd035afad5b2cf8f5560.zip
Disable backports forcefully when building artax-backports images direcly.
-rwxr-xr-xfunctions/defaults.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 4dee2dca6..25d973d6a 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -49,11 +49,18 @@ Set_defaults ()
case "${LB_MODE}" in
progress)
case "${LB_DISTRIBUTION}" in
- artax|artax-backports)
+ artax)
LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-squeeze}"
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}"
;;
+
+ artax-backports)
+ LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-squeeze}"
+ LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}"
+ LB_BACKPORTS="false"
+ ;;
+
baureo)
LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-sid}"
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}"