this post was submitted on 03 Feb 2024
10 points (100.0% liked)
Arch Linux
7777 readers
4 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I did something similar with Puppet a while ago, it also runs as root so hot the same problem.
My solution was to set up my own package repo for the AUR packages I needed and just build them periodically. This way I only have to build them once for all the machines.
I will be looking at setting up a local package cache soon, but hadn't thought about putting the aur packages in the same one... nice.
So, do you just build those packages anywhere and just copy to your repo?
Basically.
I build on my laptop and then add to the repo stored on my NAS.
I've also got chaotic-aur set up as they tend to build the bulk of what I need from the AUR so I only have to build the more niche packages I use.
Didn't know about chaotic-aur, thanks