From a07549943f047037514a163f37db07530e740df7 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 27 Apr 2016 10:55:45 -0700 Subject: [PATCH] Update contrib/mkimage/debootstrap to account for Debian LTS changes See https://www.debian.org/News/2016/20160425 and https://wiki.debian.org/LTS/Using for more details. > For Debian 7 "Wheezy" LTS there will be no requirement to add a separate wheezy-lts suite to your sources.list any more. In fact you will not notice the switch to LTS because after the official security support by the Debian Security Team ends, security updates will be provided via security.debian.org 's wheezy/updates. Signed-off-by: Andrew "Tianon" Page Upstream-commit: 084c72e760cb78078f1f1bafbcd70d4dafd8e0c5 Component: engine --- components/engine/contrib/mkimage/debootstrap | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/components/engine/contrib/mkimage/debootstrap b/components/engine/contrib/mkimage/debootstrap index c613d5375d..7d56d8ea9f 100755 --- a/components/engine/contrib/mkimage/debootstrap +++ b/components/engine/contrib/mkimage/debootstrap @@ -176,20 +176,6 @@ if [ -z "$DONT_TOUCH_SOURCES_LIST" ]; then s/ $suite / ${suite}-updates / " "$rootfsDir/etc/apt/sources.list" echo "deb http://security.debian.org $suite/updates main" >> "$rootfsDir/etc/apt/sources.list" - # squeeze-lts - if [ -f "$rootfsDir/etc/debian_version" ]; then - ltsSuite= - case "$(cat "$rootfsDir/etc/debian_version")" in - 6.*) ltsSuite='squeeze-lts' ;; - #7.*) ltsSuite='wheezy-lts' ;; - #8.*) ltsSuite='jessie-lts' ;; - esac - if [ "$ltsSuite" ]; then - head -1 "$rootfsDir/etc/apt/sources.list" \ - | sed "s/ $suite / $ltsSuite /" \ - >> "$rootfsDir/etc/apt/sources.list" - fi - fi ) fi ;;