You are not logged in.
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
You can check out the sudoers config of our build server:
https://gitlab.archlinux.org/archlinux/ … es/sudoers
Offline
Great! Thanks for the quick response!
Downloaded that file and just added it:
...
%wheel ALL = NOPASSWD: ARCHBUILD
Offline