[buildd-tools-devel] Bug#764785: schroot: setup script to copy apt archives from host to chroot
Felipe Sateler
fsateler at debian.org
Sat Oct 11 03:24:38 UTC 2014
Package: schroot
Version: 1.6.10-1+b1
Severity: wishlist
Tags: patch
For systems without an apt proxy the local apt cache can be very useful
to avoid downloading stuff multiple times. Thus I created a small
script (attached) to copy the local apt cache contents into the chroot,
and then copy them back to the host on stop. pbuilder does this as well.
This probably shouldn't be enabled by default. So perhaps this could be
shipped as a contrib script, or another variable added to
/etc/default/schroot (I can update the script if required).
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages schroot depends on:
ii libboost-filesystem1.55.0 1.55.0+dfsg-3
ii libboost-iostreams1.55.0 1.55.0+dfsg-3
ii libboost-program-options1.55.0 1.55.0+dfsg-3
ii libboost-regex1.55.0 1.55.0+dfsg-3
ii libboost-system1.55.0 1.55.0+dfsg-3
ii libc6 2.19-11
ii libgcc1 1:4.9.1-16
ii libpam0g 1.1.8-3.1
ii libstdc++6 4.9.1-16
ii libuuid1 2.25.1-3
ii schroot-common 1.6.10-1
schroot recommends no packages.
Versions of packages schroot suggests:
pn aufs-modules | unionfs-modules <none>
ii btrfs-tools 3.16-1
ii debootstrap 1.0.63
ii lvm2 2.02.111-2
pn qemu-user-static <none>
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aptcache
Type: text/x-shellscript
Size: 447 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20141011/c40bf014/attachment.bin>
More information about the Buildd-tools-devel
mailing list