aboutsummaryrefslogtreecommitdiff
path: root/pdebuild
diff options
context:
space:
mode:
authordancer <dancer>2005-02-13 07:20:41 +0000
committerdancer <dancer>2005-02-13 07:20:41 +0000
commitfe8b58c821ae8c64663d50f528477ed3cdcf930e (patch)
treea7f5032c4655db639ea887b66d783d3fa233cc34 /pdebuild
parent62aa1648b63ab7d89b9538e3511e7bbf86ab7d01 (diff)
downloadpbuilder-fe8b58c821ae8c64663d50f528477ed3cdcf930e.tar
pbuilder-fe8b58c821ae8c64663d50f528477ed3cdcf930e.tar.gz
2005-02-13 Junichi Uekawa <dancer@debian.org>
* pbuilder.8: update documentation to include 'sarge' * pbuilder: set umask 0022 in pbuilder. 276589 * pbuilderrc (BUILDRESULT): make default distribution sarge, instead of woody. * pbuilder-modules: update to include sarge in list of distributions; this list is too long, needs some improvement. 289170 * pdebuild: Change build results by default to be owned by the building user, not root:root This change only required for pdebuild only, UML already runs as user. 286397 * pbuilder.8: clarify documentation for 286602, Do not use --debbuildopts -B, but use --binary-arch * Documentation/pbuilder-doc.xml: 293882: Jens Seidel <jensseidel@users.sf.net> small typo fixes. * pbuilderrc (MIRRORSITE): 295032: change default mirror from www.jp.debian.org to ftp.jp.debian.org
Diffstat (limited to 'pdebuild')
-rw-r--r--pdebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/pdebuild b/pdebuild
index e6990e6..45725b6 100644
--- a/pdebuild
+++ b/pdebuild
@@ -33,6 +33,9 @@ PKG_SOURCENAME=$(dpkg-parsechangelog|sed -n 's/^Source: //p')
PKG_VERSION=$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p')
ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH)
+export BUILDRESULTUID=$(id -u)
+export BUILDRESULTGID=$(id -g)
+
if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then
${PBUILDERROOTCMD} pbuilder execute "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --bindmounts $(readlink -f ..) /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}"
else