summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-05 17:27:52 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-05 17:27:52 +0100
commit5a7b9cf61cabef9bcc321dcb2c8301b42e40af15 (patch)
treecfe30f60fb096c68a2cbaf297413529f6778a072
parent8e8434ddf3f815d3fca6643bfe484dc579e0b730 (diff)
downloadjenkins.debian.net-5a7b9cf61cabef9bcc321dcb2c8301b42e40af15.tar.xz
chroot-installations: enable apt debug options - thanks to David Kalnischkies for the patch (see #774614)
-rwxr-xr-xbin/chroot-installation.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index 9e154e5a..76e6df4e 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -51,6 +51,14 @@ mount /proc -t proc /proc
echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d
chmod +x /usr/sbin/policy-rc.d
echo 'Acquire::http::Proxy "http://localhost:3128";' > /etc/apt/apt.conf.d/80proxy
+cat > /etc/apt/apt.conf.d/80debug << APTEOF
+# solution calculation
+Debug::pkgDepCache::Marker "true";
+Debug::pkgDepCache::AutoInstall "true";
+Debug::pkgProblemResolver "true";
+# installation order
+Debug::pkgPackageManager "true";
+APTEOF
echo "deb-src $MIRROR $1 main" >> /etc/apt/sources.list
apt-get update
set +x