24 Jan
2023
24 Jan
'23
12:47 p.m.
Hi, On 24/01/2023 13:30, Polarian wrote:
Hello,
You can run extra-x86_64-build as root, this should work fine.
No this does not work: /usr/bin/makechrootpkg: line 561: sudo: command not found ==> ERROR: Could not download sources.
Like I have highlighted above, sudo is hard depended on, not having it causes it to break!
My bad, I thought it was only used inside the chroot and sudo was just a there to evaluate privileges. But no, it's used to download the sources outside of the chroot with --preserve-env which doas does not support. So supporting doas is impossible for devtools as doas has no equivalent option for this. So no dilemma really, just install sudo.