summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-09 16:35:52 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-09 16:35:52 -0400
commit3154c90714ef2bcd21c325be4902a6e69aedcaff (patch)
treef931fe2f0bebc74ceb5b72713494953b6c69ddc2 /makechrootpkg.in
parentec8779248b4d91fb189b658097fa162e6f753991 (diff)
parent8f94d8118fefc48b12be4a35df5ae2ff7a39486f (diff)
downloaddevtools32-3154c90714ef2bcd21c325be4902a6e69aedcaff.tar.xz
Merge tag '20160527.1'libretools-20160609
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 79f54ab..a77d14a 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -190,7 +190,7 @@ prepare_chroot() {
# We can't use useradd without chrooting, otherwise it invokes PAM modules
# which we might not be able to load (i.e. when building i686 packages on
# an x86_64 host).
- printf 'builduser:x:%d:100:builduser:/:/usr/bin/nologin\n' "$builduser_uid" >>"$copydir/etc/passwd"
+ printf 'builduser:x:%d:100:builduser:/build:/bin/bash\n' "$builduser_uid" >>"$copydir/etc/passwd"
chown -R "$builduser_uid" "$copydir"/{build,pkgdest,srcpkgdest,logdest,srcdest,startdir}
if [[ -n $MAKEFLAGS ]]; then