[arch-general] [PATCH] devtools: give a writable home to nobody for use in makechrootpkg
pierre at archlinux.de
Mon Aug 23 10:46:09 EDT 2010
On Mon, 23 Aug 2010 11:21:20 +0200, Gaetan Bisson
<bisson at archlinux.org> wrote:
> 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
More information about the arch-general