summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-01-08 11:05:19 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:41 +0100
commitb59859ac0e58ee29824825ac2d43b07c04854867 (patch)
tree5d0767d1a89a4de457bdebd78f9d41dd9f1fb0fa /functions/defaults.sh
parent8767617f410d3f05b996d4e80f7408f2bb108861 (diff)
downloadvyos-live-build-b59859ac0e58ee29824825ac2d43b07c04854867.tar.gz
vyos-live-build-b59859ac0e58ee29824825ac2d43b07c04854867.zip
Updating parent distribution defaults for progress.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh27
1 files changed, 18 insertions, 9 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 0a6336881..d9a2ef2b3 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -20,24 +20,33 @@ Set_defaults ()
# Setting distribution name
case "${LB_MODE}" in
progress)
- _DERIVATIVE="true"
-
LB_DISTRIBUTION="${LB_DISTRIBUTION:-artax}"
- LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-squeeze}"
;;
ubuntu)
- _DERIVATIVE="false"
-
LB_DISTRIBUTION="${LB_DISTRIBUTION:-karmic}"
- LB_PARENT_DISTRIBUTION="${LB_DISTRIBUTION}"
;;
*)
- _DERIVATIVE="false"
-
LB_DISTRIBUTION="${LB_DISTRIBUTION:-squeeze}"
- LB_PARENT_DISTRIBUTION="${LB_DISTRIBUTION}"
+ ;;
+ esac
+
+ case "${LB_MODE}" in
+ progress)
+ case "${LB_DISTRIBUTION}" in
+ artax|artax-backports)
+ LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-squeeze}"
+ ;;
+
+ baureo)
+ LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-sid}"
+ ;;
+ esac
+ ;;
+
+ *)
+ LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-${LB_DISTRIBUTION}}"
;;
esac