Hi, On 24/01/2023 09:54, Polarian wrote:
Hello,
So I currently do not test my packages in a clean chroot because of this issue: https://gitlab.archlinux.org/archlinux/devtools/-/issues/105
It seems a little stupid but I hate sudo being installed on my system, I do not like it, and I do not like when tools force me to use sudo. Without sudo installed the makechrootpkg script breaks and thus I can't use dev tools to test in a chroot environment.
You can run extra-x86_64-build as root, this should work fine.
I did try and just manually build a chroot environment, but for whatever reason it was not writable to disk, in other words I kept getting "filesystem full" errors when the filesystem was not full, and I couldn't see to find a decent guide on how to actually setup a chroot manually, all recommend using different parts of the devtools.
I recommend using extra-x86_64-build as that's a convenience wrapper, it stores build chroots in /var/lib/archbuild.