diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-01-05 17:27:52 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-01-05 17:27:52 +0100 |
commit | 5a7b9cf61cabef9bcc321dcb2c8301b42e40af15 (patch) | |
tree | cfe30f60fb096c68a2cbaf297413529f6778a072 /bin | |
parent | 8e8434ddf3f815d3fca6643bfe484dc579e0b730 (diff) | |
download | jenkins.debian.net-5a7b9cf61cabef9bcc321dcb2c8301b42e40af15.tar.xz |
chroot-installations: enable apt debug options - thanks to David Kalnischkies for the patch (see #774614)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chroot-installation.sh | 8 |
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 |