[aur-general] avoid usage of fakeroot: always use of build() and package() (Was: application as a TU)

Ranguvar ranguvar at archlinux.us
Sun Nov 22 04:22:16 EST 2009


On Sun, Nov 22, 2009 at 1:17 AM, Allan McRae <allan at archlinux.org> wrote:

> Ray Rashif wrote:
>
>>
>> Hi Gerardo can you confirm that there are no (owner) permission issues
>> when
>> building without fakeroot (i.e all owned by user)? I don't see chown
>> anywhere other than extract_sources().
>>
>>
>
> If your packaging is done properly, then there is no issues.  Always use
> "install" and not "cp".
>
> Allan
>

The minor problem with using 'install' is that you must specify the
permissions right there, and you cannotsimply use whatever permission was
set by make install.
Of course, that's what makes it not have tainted permissions from the
building user in the first place...

-- Ranguvar


More information about the aur-general mailing list