On Tue, 08 Mar 2011 14:35:58 +0200, Damyan Ivanov wrote:

> > Yup, but setting HOME won't help here.
> (repetitive mumbling)

:)
 
> Why not pathcing sbuild so it provides a useful home directory 
> (possibly wiped after build)? Seemed like a lot of effort some time 
> ago, but having to work around it forever doesn't seem trivial either.

I think in this case it wouldn't help; as I understood the situation
from carnil's and jawnsy's tests, sbuild (1) adds a line to
/etc/passwd which is then read with getpwuid($<) by vendorlib but (2)
doesn't mount the home directory later. A temporary $HOME in the
build chroot wouldn't match the first one.

In the other cases, where the test suite uses $HOME, having a
temporary directory and the variable set might indeed be nice.

Since I don't know sbuild, I'd rather see someone else bringing this
up with the sbuild maintainer.


Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Dire Straits: Money For Nothing

Attachment: signature.asc
Description: Digital signature

Reply via email to