From 000ff0a0b04a8878b580eefc1a7c22486d7d4471 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Mar 2010 18:03:29 +0100 Subject: Adding update repositories as volatile when building in ubuntu mode (Closes: #572983). --- functions/defaults.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'functions/defaults.sh') diff --git a/functions/defaults.sh b/functions/defaults.sh index 05ab2fcec..0862254b6 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -344,6 +344,18 @@ Set_defaults () ;; esac ;; + + ubuntu) + case "${LH_ARCHITECTURE}" in + amd64|i386) + LH_MIRROR_CHROOT_VOLATILE="http://security.ubuntu.com/ubuntu/" + ;; + + *) + LH_MIRROR_CHROOT_VOLATILE="http://ports.ubuntu.com/" + ;; + esac + ;; esac LH_MIRROR_CHROOT_VOLATILE="${LH_MIRROR_CHROOT_VOLATILE:-none}" @@ -412,6 +424,18 @@ Set_defaults () ;; esac ;; + + ubuntu) + case "${LH_ARCHITECTURE}" in + amd64|i386) + LH_MIRROR_BINARY_VOLATILE="http://security.ubuntu.com/ubuntu/" + ;; + + *) + LH_MIRROR_BINARY_VOLATILE="http://ports.ubuntu.com/" + ;; + esac + ;; esac LH_MIRROR_BINARY_VOLATILE="${LH_MIRROR_BINARY_VOLATILE:-none}" -- cgit v1.2.3