summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-11-30 10:17:35 +0100
committerDaniel Baumann <daniel@debian.org>2010-11-30 10:17:35 +0100
commit2e23222b3924d743b3948c44ae5acff8a3bd38f1 (patch)
tree1953aeb78a46b397c4f4fc0553ca1b3aca925982 /scripts/build
parent5570e1b416b8f81dbd3613784c8bbb19726f5bb2 (diff)
downloadvyos-live-build-2e23222b3924d743b3948c44ae5acff8a3bd38f1.tar.gz
vyos-live-build-2e23222b3924d743b3948c44ae5acff8a3bd38f1.zip
Once again updating volatile urls for squeeze.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/lb_chroot_sources22
1 files changed, 2 insertions, 20 deletions
diff --git a/scripts/build/lb_chroot_sources b/scripts/build/lb_chroot_sources
index 79e4232f5..5b77f6537 100755
--- a/scripts/build/lb_chroot_sources
+++ b/scripts/build/lb_chroot_sources
@@ -87,16 +87,7 @@ EOF
if [ "${LB_VOLATILE}" = "true" ]
then
case "${LB_MODE}" in
- debian|debian-release)
- echo "deb ${LB_MIRROR_CHROOT_VOLATILE} ${LB_DISTRIBUTION}-volatile ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
-
- if [ "${LB_SOURCE}" = "true" ]
- then
- echo "deb-src ${LB_MIRROR_CHROOT_VOLATILE} ${LB_DISTRIBUTION}-volatile ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
- fi
- ;;
-
- ubuntu)
+ debian|debian-release|ubuntu)
echo "deb ${LB_MIRROR_CHROOT_VOLATILE} ${LB_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
if [ "${LB_SOURCE}" = "true" ]
@@ -528,16 +519,7 @@ EOF
if [ "${LB_VOLATILE}" = "true" ]
then
case "${LB_MODE}" in
- debian|debian-release)
- echo "deb ${LB_MIRROR_BINARY_VOLATILE} ${LB_DISTRIBUTION}-volatile ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
-
- if [ "${LB_SOURCE}" = "true" ]
- then
- echo "deb-src ${LB_MIRROR_BINARY_VOLATILE} ${LB_DISTRIBUTION}/volatile ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
- fi
- ;;
-
- ubuntu)
+ debian|debian-release|ubuntu)
echo "deb ${LB_MIRROR_BINARY_VOLATILE} ${LB_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
if [ "${LB_SOURCE}" = "true" ]