You are not logged in.

#1 2024-03-23 16:45:52

Nebulosa
Member
Registered: 2009-08-24
Posts: 48

[SOLVED] Setting pkgctl build

After installing a clean chroot, I use the 'pkgctl build' command to build packages without issues.

I'm wondering how I can run pkgctl build without asking for a password?

I saw this topic already and wrote the file:

$sudo cat /etc/sudoers.d/pkgctl

%wheel ALL=(ALL:ALL) NOPASSWD: SETENV: /usr/bin/makechrootpkg
%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/mkarchroot, /usr/bin/arch-nspawn

but have no luck.

How can I update this file or should I use some other command?

Last edited by Nebulosa (2024-03-23 17:21:16)

Offline

#2 2024-03-23 16:57:35

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 251
Website

Re: [SOLVED] Setting pkgctl build

You can check out the sudoers config of our build server:
https://gitlab.archlinux.org/archlinux/ … es/sudoers

Offline

#3 2024-03-23 17:20:45

Nebulosa
Member
Registered: 2009-08-24
Posts: 48

Re: [SOLVED] Setting pkgctl build

Great! Thanks for the quick response!

Downloaded that file and just added it:

...
%wheel  ALL = NOPASSWD: ARCHBUILD

Offline

Board footer

Powered by FluxBB