summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-02-04 22:05:36 +0100
committerDaniel Baumann <daniel@debian.org>2012-02-06 23:15:13 +0100
commitdb4b354436ca89edd4dfe3ab8a678be34ca3b683 (patch)
tree996c3cac27de7a27358524b71a29d19daba227a5 /functions
parent9c9cdbbb33262eed09ad5faabe65a7b7fca6f156 (diff)
downloadvyos-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-xfunctions/defaults.sh5
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