aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
authordancer <dancer>2002-10-29 06:23:39 +0000
committerdancer <dancer>2002-10-29 06:23:39 +0000
commitb7b986d72d87a26a2636678c67736513adccf39a (patch)
treed26f87db4de4b3bc2c752dfcb43a4072d5341ec4 /pbuilder-buildpackage-funcs
parent00b1f9f7e4faa43d687fe2083f044dbafad18dea (diff)
downloadpbuilder-b7b986d72d87a26a2636678c67736513adccf39a.tar
pbuilder-b7b986d72d87a26a2636678c67736513adccf39a.tar.gz
+ * pbuilderrc.5: update
+ + * pbuilder.8: update documentation slightly. + + * THANKS: update thanks file. + + * pbuilder-buildpackage-funcs: LOGNAME is set to BUILDUSERNAME, and + Create shadow entry for inside chroot on fakerooting as well. + Reported by: Robert Bihlmeyer <robbe@orcus.priv.at> +
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs2
1 files changed, 2 insertions, 0 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index ee9f973..c0c8832 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -64,6 +64,8 @@ function createbuilduser () {
if [ -n "$SUTOUSER" ]; then
echo "$BUILDUSERNAME:x:$BUILDUSERID:$BUILDUSERID:,,,:/tmp/buildd:/bin/sh" >> $BUILDPLACE/etc/passwd
echo "$BUILDUSERNAME:*:$BUILDUSERID:" >> $BUILDPLACE/etc/group
+ echo "$BUILDUSERNAME:!:::::::" >> $BUILDPLACE/etc/shadow
export HOME="/tmp/buildd"
+ export LOGNAME="${BUILDUSERNAME}"
fi
}