[pbuilder] 01/01: buildpackage: export DEB_RULES_REQUIRES_ROOT=no when we detect R³:no
Mattia Rizzolo
mattia at debian.org
Sat Jan 6 11:12:46 UTC 2018
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository pbuilder.
commit f0e7b71d43d42cb79f9c7a48094ee4e79aec9a3c
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Jan 6 12:10:55 2018 +0100
buildpackage: export DEB_RULES_REQUIRES_ROOT=no when we detect R³:no
The specification says that when the variable is not present the build
system should assume the builder doesn't recognize the field at all,
which is quite true in our simple case, so for now don't bother setting
it to anything else until we can deal with the more complex cases of R³.
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
pbuilder-buildpackage | 1 +
1 file changed, 1 insertion(+)
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 8c4e802..ef8cd14 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -152,6 +152,7 @@ if [[ "${RRR,,}" != no ]] ||
EXTRAPACKAGES="${EXTRAPACKAGES} fakeroot"
log.i "using fakeroot in build."
else
+ export DEB_RULES_REQUIRES_ROOT=no
log.i "Not using root during the build."
fi
--
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