makechrootpkg: set builduser's shell to /bin/bash

Having it set to nologin breaks a couple of tests in Git and Python.
This commit is contained in:
Evangelos Foutras 2016-01-09 11:53:37 +02:00
parent f1effdf989
commit c5128dc45c
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,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:/build:/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