[pacman-dev] [PATCH] Option to enable running makepkg in root

Allan McRae allan at archlinux.org
Fri Jan 17 04:57:24 UTC 2020


On 17/1/20 4:10 am, Saul Tigh wrote:
> On Fri, Jan 17, 2020 at 12:57 AM Eli Schwartz <eschwartz at archlinux.org>
> wrote:
> 
> 
>> Thanks, your v2 patch no longer returns an error claiming it is
>> corrupted. :)
>>
>>
> Glad to hear it ;) I'm very new to this whole submitting patch via git
> process so please bear with me.
> 
> 
>> Most likely you'd want to take a look at build-aux/edit-script.sh.in,
>> and the "substs" dictionary of replacements in meson.build -- you can
>> add options to meson_options.txt
>>
>> autotools is still supported, and I'd advise adding options to both
>> meson and autotools -- the plan is to deprecate autotools soon, but
>> until it's actually removed, we should probably try to make them both
>> behave the same. :D
>>
>> Feel free to ask any questions about implementing changes in meson.
>>
> 
> Thanks a lot. I will get down to work and re-submit a new patch once it is
> ready. The support in pacman community is amazing ;)
> 

Note...  there was an --as-root option not that long ago.  It was
removed for valid reasons.   I will not be accepting a patch that adds
this back in.  Particularly given I see no justification.  I have
bootstrapped a LFS build using pacman as a package manager and used a
dedicated build user throughout.

Allan


More information about the pacman-dev mailing list