From 3262253e5a80cdd265bf35691c2daaa75c8a20fd Mon Sep 17 00:00:00 2001
From: Joerg Schirottke <master@kanotix.com>
Date: Fri, 29 Mar 2019 16:37:22 +0100
Subject: use debian-archive for wheezy

---
 auto/config | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/auto/config b/auto/config
index a854b8c..e8387f4 100755
--- a/auto/config
+++ b/auto/config
@@ -132,3 +132,19 @@ mkdir -p config/chroot_local-includes/usr/local/bin
 grep -oe '^[^ #]*' scripts.urls | wget -i- -N -q -P config/chroot_local-includes/usr/local/bin
 chmod 755 config/chroot_local-includes/usr/local/bin/*sh || :
 
+case "$LB_DISTRIBUTION" in
+wheezy)
+    MIRROR_CHROOT=http://ftp.de.debian.org/debian-archive/debian
+    MIRROR_BINARY=http://ftp.de.debian.org/debian-archive/debian
+    MIRROR_CHROOT_SECURITY=http://security.debian.org/
+    MIRROR_BINARY_SECURITY=http://security.debian.org/
+    MIRROR_BOOTSTRAP="$MIRROR_CHROOT"
+    lb config noauto \
+	--mirror-bootstrap ${MIRROR_BOOTSTRAP} \
+	--mirror-chroot ${MIRROR_CHROOT} \
+	--mirror-chroot-security ${MIRROR_CHROOT_SECURITY} \
+	--mirror-binary ${MIRROR_BINARY} \
+	--mirror-binary-security ${MIRROR_BINARY_SECURITY} \
+	--updates false
+    ;;
+esac
-- 
cgit v1.0