From b5842d892aeb8b3db5882d8a9ba766bf063ddf45 Mon Sep 17 00:00:00 2001 From: dancer Date: Thu, 1 Dec 2005 00:01:28 +0000 Subject: preserve environment when su to root. --- ChangeLog | 5 +++++ debian/changelog | 6 ++++-- pbuilder-buildpackage | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4753bee..7d5ded9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-12-01 Junichi Uekawa + + * pbuilder-buildpackage: preserve environment when + running as root. Thanks to Mike Hommey + 2005-11-28 Junichi Uekawa * testsuite/run-test.sh: run pdebuild-internal on one directory diff --git a/debian/changelog b/debian/changelog index b4b39dc..65971f5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ pbuilder (0.140) UNRELEASED; urgency=low - * + [Junichi Uekawa] + * Bug fix: "pbuilder: PATH not preserved when either BUILDUSERID or + BUILDUSERNAME isn't set", thanks to Mike Hommey (Closes: #341453). - -- Junichi Uekawa Thu, 17 Nov 2005 08:09:52 +0900 + -- Junichi Uekawa Thu, 1 Dec 2005 09:00:02 +0900 pbuilder (0.139) unstable; urgency=low diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index 71c2c91..027c954 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -39,7 +39,7 @@ if [ -n "$BUILDUSERNAME" -a -n "$BUILDUSERID" ]; then echo "I: using fakeroot in build." else # run the build in root - SUTOUSER="su " + SUTOUSER="su -p " BUILDUSERID=0 BUILDUSERNAME=root fi -- cgit v1.2.3