summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-03-24 20:26:29 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-24 20:26:29 +0100
commit2d25d1f140eccfbd7a29abd7e4f670fa7e2e3f13 (patch)
tree6ce78e6e3a6619bd2eb0935ea85156c19e47e096
parentef1a33bc142e6bda2a4750b40fe748553de4faf7 (diff)
downloadvyos-live-build-2d25d1f140eccfbd7a29abd7e4f670fa7e2e3f13.tar.gz
vyos-live-build-2d25d1f140eccfbd7a29abd7e4f670fa7e2e3f13.zip
Removing obsolete debian-backports auto-configuration.
-rwxr-xr-xscripts/build/lb_config33
1 files changed, 0 insertions, 33 deletions
diff --git a/scripts/build/lb_config b/scripts/build/lb_config
index 91de350c5..c3ae0eb06 100755
--- a/scripts/build/lb_config
+++ b/scripts/build/lb_config
@@ -393,15 +393,7 @@ Local_arguments ()
-d|--distribution)
LB_DISTRIBUTION="${2}"
- BACKPORTS="false"
shift 2
-
- case "${LB_DISTRIBUTION}" in
- squeeze-backports)
- LB_DISTRIBUTION="squeeze"
- BACKPORTS="true"
- ;;
- esac
;;
--parent-distribution)
@@ -1413,31 +1405,6 @@ then
fi
fi
-if [ "${BACKPORTS}" = "true" ]
-then
- # Adding sources.list entry
-
-cat > config/chroot_sources/${LB_DISTRIBUTION}-backports.chroot << EOF
-# Backports Maintainers
-deb http://backports.debian.org/debian-backports/ ${LB_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}
-deb-src http://backports.debian.org/debian-backports/ ${LB_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}
-EOF
-
- cp config/chroot_sources/${LB_DISTRIBUTION}-backports.chroot config/chroot_sources/${LB_DISTRIBUTION}-backports.binary
-
- # Adding apt preferences
- if ! grep -qs "^Pin: release o=Debian Backports" config/chroot_apt/preferences
- then
-
-cat >> config/chroot_apt/preferences << EOF
-Package: *
-Pin: release o=Debian Backports
-Pin-Priority: 999
-EOF
-
- fi
-fi
-
# Checking defaults again
Check_defaults