From ea60559e712e73a94159e9eaad0e841f3a0f1010 Mon Sep 17 00:00:00 2001 From: dancer Date: Fri, 4 Mar 2005 04:49:42 +0000 Subject: +2005-03-04 Junichi Uekawa + + * pbuilder: apply patch frp, Danilo to save aptcache on pbuilder login. + Apply similar change to pbuilder execute. + 271600 + + * pbuilder.8: + * pbuilder-checkparams: + * pbuilder-modules: support --aptcache option + thanks: Danilo Piazzalunga + 295766 + + * Cleaned build dir for pbuilder-uml #297100 + + * pbuilder-modules (pbuilder-options): document save-after-login/exec + flag in --help output. #296672 + --- pbuilder | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pbuilder') diff --git a/pbuilder b/pbuilder index 1d74476..377d2fe 100755 --- a/pbuilder +++ b/pbuilder @@ -57,6 +57,9 @@ case "$1" in extractbuildplace trap umountproc_cleanbuildplace exit loadhooks + recover_aptcache + trap saveaptcache_umountproc_cleanbuildplace exit + if [ "${INTERNAL_BUILD_UML}" = "yes" ]; then echo " -> entering the shell" else @@ -67,6 +70,9 @@ File extracted to: $BUILDPLACE executehooks "F" chroot "$BUILDPLACE" bin/bash + save_aptcache + trap umountproc_cleanbuildplace exit + # saving the place afterwards if [ "${SAVE_AFTER_LOGIN}" = "yes" ]; then if [ "${INTERNAL_BUILD_UML}" = "yes" ]; then @@ -96,12 +102,17 @@ File extracted to: $BUILDPLACE trap umountproc_cleanbuildplace exit loadhooks + recover_aptcache + trap saveaptcache_umountproc_cleanbuildplace exit + RUNNAME="$BUILDPLACE/run" cat "$EXECPROGRAM" > "$RUNNAME" chmod a+x "$RUNNAME" executehooks "F" chroot "$BUILDPLACE" /run "$@" + save_aptcache + trap umountproc_cleanbuildplace exit # saving the place afterwards if [ "${SAVE_AFTER_LOGIN}" = "yes" ]; then -- cgit v1.2.3