From db4b354436ca89edd4dfe3ab8a678be34ca3b683 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 Feb 2012 22:05:36 +0100 Subject: Improve backports handling in derivatives mode. If LB_BACKPORTS=true, then backports are configured in sources.list, however, not enabled. If backports are enabled depends on pinning, either manually through apt/preferences.d snipplets in local includes/chroot_apt, or, depending on distribution (e.g. building artax-backports enables pinning automatically). --- functions/defaults.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index 28f86f3df..70892c577 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -79,7 +79,6 @@ Set_defaults () 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) @@ -87,11 +86,15 @@ Set_defaults () LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" ;; esac + + LB_BACKPORTS="${LB_BACKPORTS:-true}" ;; *) LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-${LB_DISTRIBUTION}}" LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" + + LB_BACKPORTS="${LB_BACKPORTS:-false}" ;; esac -- cgit v1.2.3