From 17c5ed64b269b2bff7f30448699266c69885a3d2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 6 Mar 2010 17:23:59 +0100 Subject: Adding support for debian-volatile archive. --- helpers/chroot_sources | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'helpers/chroot_sources') diff --git a/helpers/chroot_sources b/helpers/chroot_sources index 16adf89d1..cb046d9ea 100755 --- a/helpers/chroot_sources +++ b/helpers/chroot_sources @@ -75,6 +75,19 @@ case "${1}" in esac fi + if [ "${LH_VOLATILE}" = "true" ] + then + if [ "${LH_DISTRIBUTION}" != "sid" ] && [ "${LH_DISTRIBUTION}" != "unstable" ] + then + echo "deb ${LH_MIRROR_CHROOT_VOLATILE} ${LH_DISTRIBUTION}/volatile ${LH_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list + + if [ "${LH_SOURCE}" = "true" ] + then + echo "deb-src ${LH_MIRROR_CHROOT_VOLATILE} ${LH_DISTRIBUTION}/volatile ${LH_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list + fi + fi + fi + # Check local sources.list if Find_files config/chroot_sources/*.chroot then @@ -401,6 +414,19 @@ case "${1}" in esac fi + if [ "${LH_VOLATILE}" = "true" ] + then + if [ "${LH_DISTRIBUTION}" != "sid" ] && [ "${LH_DISTRIBUTION}" != "unstable" ] + then + echo "deb ${LH_MIRROR_BINARY_VOLATILE} ${LH_DISTRIBUTION}/volatile ${LH_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list + + if [ "${LH_SOURCE}" = "true" ] + then + echo "deb-src ${LH_MIRROR_BINARY_VOLATILE} ${LH_DISTRIBUTION}/volatile ${LH_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list + fi + fi + fi + # Check local sources.list if Find_files config/chroot_sources/*.binary then -- cgit v1.2.3