Skip to content
Commits on Source (3)
......@@ -48,4 +48,11 @@ else
log "trusted.gpg already exists under /etc/apt in target"
fi
# Unlike apt-get, apt removes debs from the cache once installed successfully.
# Keep them to benefit (again) from cached debs for LTSP chroot installation.
log "adding /etc/apt/apt.conf.d/01keep-pkgs to speed up LTSP installation."
cat > /target/etc/apt/apt.conf.d/01keep-pkgs <<EOF
Binary::apt::APT::Keep-Downloaded-Packages "true";
EOF
disable_exception
debian-edu-install (2.10.13) UNRELEASED; urgency=medium
[ Holger Levsen ]
* Bump standards version to 4.2.1, no changes needed.
[ Wolfgang Schweer ]
* Re-enable the use of already downloaded packages to speed up LTSP chroot
installation:
- base-installer: Add temporary apt configuration (don't clean apt cache);
it is removed during finish-install (via d-e-c).
- debian/debian-edu-profile-udeb.postinst: Prevent pkgsel from running
'apt-get clean'; the cache is cleaned anyway at the very end of the
installation.
-- Holger Levsen <holger@debian.org> Mon, 27 Aug 2018 12:05:04 +0200
debian-edu-install (2.10.12) unstable; urgency=medium
......
......@@ -7,8 +7,11 @@ set -e
# Get rid of setting DEBIAN_TASKS_ONLY (introduced by pkgsel-udeb 0.45)
# to allow the installation of education tasks in the target chroot,
# where this setting is evaluated (since tasksel 3.39).
# Don't run 'apt-get clean', keep packages for LTSP chroot installation; this
# command will be run later (at the very end of the installation).
if [ -e /var/lib/dpkg/info/pkgsel.postinst ] ; then
sed -i s/DEBIAN_TASKS_ONLY=1// /var/lib/dpkg/info/pkgsel.postinst
sed -i s/DEBIAN_TASKS_ONLY=1// /var/lib/dpkg/info/pkgsel.postinst;
sed -i '/apt-get clean/d' /var/lib/dpkg/info/pkgsel.postinst
fi
# Ask about which profile to install.
......