diff options
author | Daniel Baumann <daniel@debian.org> | 2012-02-04 22:05:36 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-02-06 23:15:13 +0100 |
commit | db4b354436ca89edd4dfe3ab8a678be34ca3b683 (patch) | |
tree | 996c3cac27de7a27358524b71a29d19daba227a5 /functions | |
parent | 9c9cdbbb33262eed09ad5faabe65a7b7fca6f156 (diff) | |
download | vyos-live-build-db4b354436ca89edd4dfe3ab8a678be34ca3b683.tar.gz vyos-live-build-db4b354436ca89edd4dfe3ab8a678be34ca3b683.zip |
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).
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 |