diff options
author | Daniel Baumann <daniel@debian.org> | 2011-01-08 11:05:19 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:20:41 +0100 |
commit | b59859ac0e58ee29824825ac2d43b07c04854867 (patch) | |
tree | 5d0767d1a89a4de457bdebd78f9d41dd9f1fb0fa /functions/defaults.sh | |
parent | 8767617f410d3f05b996d4e80f7408f2bb108861 (diff) | |
download | vyos-live-build-b59859ac0e58ee29824825ac2d43b07c04854867.tar.gz vyos-live-build-b59859ac0e58ee29824825ac2d43b07c04854867.zip |
Updating parent distribution defaults for progress.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 27 |
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 |