summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_sources
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-01-07 21:09:49 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:41 +0100
commitd0a5dac9713f2031383fed1d78130ef770d891b6 (patch)
treee569ee34ba0b1797d61bef9b51cd365b62434d88 /scripts/build/lb_chroot_sources
parent41a68e481917532433eeb3db56e5cf9df3f0325c (diff)
downloadvyos-live-build-d0a5dac9713f2031383fed1d78130ef770d891b6.tar.gz
vyos-live-build-d0a5dac9713f2031383fed1d78130ef770d891b6.zip
Removing unused debian-release mode.
Diffstat (limited to 'scripts/build/lb_chroot_sources')
-rwxr-xr-xscripts/build/lb_chroot_sources8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/lb_chroot_sources b/scripts/build/lb_chroot_sources
index 7e163d954..f7fd3ba26 100755
--- a/scripts/build/lb_chroot_sources
+++ b/scripts/build/lb_chroot_sources
@@ -87,7 +87,7 @@ EOF
if [ "${LB_VOLATILE}" = "true" ]
then
case "${LB_MODE}" in
- debian|debian-release|ubuntu)
+ debian|ubuntu)
echo "deb ${LB_MIRROR_CHROOT_VOLATILE} ${LB_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
if [ "${LB_SOURCE}" = "true" ]
@@ -101,7 +101,7 @@ EOF
if [ "${LB_BACKPORTS}" = "true" ]
then
case "${LB_MODE}" in
- debian|debian-release)
+ debian)
if [ "${LB_DISTRIBUTION}" != "sid" ] && [ "${LB_DISTRIBUTION}" != "unstable" ]
then
echo "deb ${LB_MIRROR_CHROOT_BACKPORTS} ${LB_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
@@ -519,7 +519,7 @@ EOF
if [ "${LB_VOLATILE}" = "true" ]
then
case "${LB_MODE}" in
- debian|debian-release|ubuntu)
+ debian|ubuntu)
echo "deb ${LB_MIRROR_BINARY_VOLATILE} ${LB_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
if [ "${LB_SOURCE}" = "true" ]
@@ -533,7 +533,7 @@ EOF
if [ "${LB_BACKPORTS}" = "true" ]
then
case "${LB_MODE}" in
- debian|debian-release)
+ debian)
if [ "${LB_DISTRIBUTION}" != "sid" ] && [ "${LB_DISTRIBUTION}" != "unstable" ]
then
echo "deb ${LB_MIRROR_BINARY_BACKPORTS} ${LB_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list