[pacman-dev] [PATCH 2/2] makepkg: enforce fakeroot usage

Allan McRae allan at archlinux.org
Sat Mar 8 06:17:08 EST 2014


On 08/03/14 21:11, Allan McRae wrote:
> Packaging outside of fakeroot can result in incorrect permissions for
> package files.  It has been years since fakeroot issues during packaging
> were common, so it is safe to enforce fakeroot usage.  If using fakeroot
> is impossible for some reason, a two line wrapper script will suffice to
> fool makepkg.
> 
> Signed-off-by: Allan McRae <allan at archlinux.org>
> ---
>  doc/makepkg.conf.5.txt |  5 +----
>  etc/makepkg.conf.in    |  5 ++---
>  scripts/makepkg.sh.in  | 59 ++++++++++----------------------------------------
>  3 files changed, 15 insertions(+), 54 deletions(-)
> 

This and the remove --asroot patch are a RFC.   Both these options are
not needed, and removing them significantly reduces code complexity.

Allan




More information about the pacman-dev mailing list