diff options
Diffstat (limited to 'helpers/chroot_sources')
-rwxr-xr-x | helpers/chroot_sources | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/helpers/chroot_sources b/helpers/chroot_sources index 16adf89..cb046d9 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 |