diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2014-08-27 01:04:06 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2014-08-27 01:04:06 +0200 |
commit | c699485f27c21f9e8c88ace5a1bb77308e24ed4a (patch) | |
tree | 3efa350039a114719fe04b7aa7eef01479b303f5 /scripts/build/lb_chroot_sources | |
parent | a5e456979b47b6e9c550e892b406558d98050e40 (diff) | |
download | vyos-live-build-debian/2.0.12-2.tar.gz vyos-live-build-debian/2.0.12-2.zip |
Enabling squeeze-lts repository.debian/2.0.12-2
Diffstat (limited to 'scripts/build/lb_chroot_sources')
-rwxr-xr-x | scripts/build/lb_chroot_sources | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/build/lb_chroot_sources b/scripts/build/lb_chroot_sources index 2bb05ec60..bb63d73f1 100755 --- a/scripts/build/lb_chroot_sources +++ b/scripts/build/lb_chroot_sources @@ -84,6 +84,16 @@ EOF esac fi + if [ "${LB_LTS}" = "true" ] + then + echo "deb ${LB_MIRROR_CHROOT} ${LB_DISTRIBUTION}-lts ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list + + if [ "${LB_SOURCE}" = "true" ] + then + echo "deb-src ${LB_MIRROR_CHROOT} ${LB_DISTRIBUTION}-lts ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list + fi + fi + if [ "${LB_VOLATILE}" = "true" ] then case "${LB_MODE}" in @@ -538,6 +548,16 @@ EOF esac fi + if [ "${LB_LTS}" = "true" ] + then + echo "deb ${LB_MIRROR_BINARY} ${LB_DISTRIBUTION}-lts ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list + + if [ "${LB_SOURCE}" = "true" ] + then + echo "deb-src ${LB_MIRROR_BINARY} ${LB_DISTRIBUTION}-lts ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list + fi + fi + if [ "${LB_VOLATILE}" = "true" ] then case "${LB_MODE}" in |