From fe8b58c821ae8c64663d50f528477ed3cdcf930e Mon Sep 17 00:00:00 2001 From: dancer Date: Sun, 13 Feb 2005 07:20:41 +0000 Subject: 2005-02-13 Junichi Uekawa * 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 small typo fixes. * pbuilderrc (MIRRORSITE): 295032: change default mirror from www.jp.debian.org to ftp.jp.debian.org --- pdebuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pdebuild') 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 -- cgit v1.2.3