[pbuilder] 01/01: modules: create_basetgz(): explicitly exclude /sys/* and /proc/* from being saved in the tarball
Mattia Rizzolo
mattia at debian.org
Fri Jan 13 18:15:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository pbuilder.
commit aebfe556266a3e3ebf7005d8e4e1f2d4b2f43bff
Author: Mattia Rizzolo <mattia at debian.org>
Date: Fri Jan 13 19:14:11 2017 +0100
modules: create_basetgz(): explicitly exclude /sys/* and /proc/* from being saved in the tarball
Closes: #56033
---
pbuilder-modules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pbuilder-modules b/pbuilder-modules
index 98171ef..1e4efe5 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -721,7 +721,7 @@ function create_basetgz() {
if [ -h "$BUILDPLACE/tmp/buildd" ] && [ "$(readlink -f "$BUILDPLACE/tmp/buildd")" = "${BUILDPLACE}$BUILDDIR" ]; then
rm "$BUILDPLACE/tmp/buildd"
fi
- if ! tar -c --use-compress-program "$COMPRESSPROG" -f "${BASETGZ}.tmp" ./* ; then
+ if ! tar -c --use-compress-program "$COMPRESSPROG" -f "${BASETGZ}.tmp" --exclude ./sys/* --exclude ./proc/* ./* ; then
log.e "failed building base tarball"
rm -f "${BASETGZ}.tmp"
exit 1;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git
More information about the Pbuilder-maint
mailing list