23 Aug
2010
23 Aug
'10
4:46 p.m.
On Mon, 23 Aug 2010 11:21:20 +0200, Gaetan Bisson <bisson@archlinux.org> wrote:
Hi,
This is to ensure $HOME is a writable directory during makechrootpkg runs. I suspect this is helpful to build various packages - in the example I have in mind (uim in [extra]), the home directory was determined by getpwuid(getuid())->pw_dir, so simply exporting a new HOME environment variable in the PKGBUILD wasn't enough.
I would say if a build or package function tries to write file in a user's home directory it should be considered broken and the PKGBUILD should be fixed. -- Pierre Schmitz, https://users.archlinux.de/~pierre