aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2006-04-22 02:18:45 +0000
committerdancer <dancer>2006-04-22 02:18:45 +0000
commit855ea2816c67a42cc9af2ce12702575f19ae4e91 (patch)
treeed79b82aa729de441722eb47421a5f1ca428f1e1
parent2145b0b4313e3ee3abd2c0a4649d6663961ccb2f (diff)
downloadpbuilder-855ea2816c67a42cc9af2ce12702575f19ae4e91.tar
pbuilder-855ea2816c67a42cc9af2ce12702575f19ae4e91.tar.gz
pdebuild: give --uid/--gid options to pdebuild-internal
it will fix the testsuite failure
-rw-r--r--ChangeLog4
-rw-r--r--debian/changelog4
-rw-r--r--pdebuild2
3 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bfcde00..eb8eb82 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-22 Junichi Uekawa <dancer@debian.org>
+
+ * pdebuild: give --uid/--gid options to pdebuild-internal
+
2006-04-01 Junichi Uekawa <dancer@debian.org>
* pdebuild: directory is moved after command-line is parsed.
diff --git a/debian/changelog b/debian/changelog
index 93f6da8..03e4285 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
pbuilder (0.152) UNRELEASED; urgency=low
- *
+ * fix pdebuild-internal, pass --uid/--gid options.
- -- Junichi Uekawa <dancer@debian.org> Sun, 2 Apr 2006 14:03:14 +0900
+ -- Junichi Uekawa <dancer@debian.org> Sat, 22 Apr 2006 11:12:27 +0900
pbuilder (0.151) unstable; urgency=low
diff --git a/pdebuild b/pdebuild
index e541835..c579045 100644
--- a/pdebuild
+++ b/pdebuild
@@ -37,7 +37,7 @@ 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}"
+ ${PBUILDERROOTCMD} pbuilder execute "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --bindmounts $(readlink -f ..) /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}" --uid "${BUILDRESULTUID}" --gid "${BUILDRESULTGID}"
else
if ! dpkg-checkbuilddeps -B ; then
echo "W: Unmet build-dependency in source"