From 90b145de6c20829d6d20e7b89ade11e34029f56f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 14 Feb 2011 12:29:25 +0100 Subject: Adding initial support for parent distribution for debian-installer. --- functions/defaults.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index 5f266158c..44245f3b8 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -37,16 +37,19 @@ Set_defaults () case "${LB_DISTRIBUTION}" in artax|artax-backports) LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-squeeze}" + LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" ;; baureo) LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-sid}" + LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" ;; esac ;; *) LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-${LB_DISTRIBUTION}}" + LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" ;; esac @@ -810,8 +813,7 @@ Set_defaults () ;; esac - # Setting debian-installer distribution - LB_DEBIAN_INSTALLER_DISTRIBUTION="${LB_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" + LB_DEBIAN_INSTALLER_DISTRIBUTION="${LB_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_DISTRIBUTION}}" # Setting debian-installer-gui case "${LB_MODE}" in -- cgit v1.2.3