feat(role): Build AUR packages locally in chroot

This commit is contained in:
2025-04-07 00:17:33 +02:00
parent 34354d4ea6
commit 039b55363f
3 changed files with 188 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# SPDX-License-Identifier: MIT
[options]
# This 'CacheDir' is the second one in our 'pacman.conf' file once we 'Include =' this file into it. The default dir at
# '/var/cache/pacman/pkg/' is not writable for unprivileged users. Pacman checks for the first writable cache when
# deciding where to store newly built packages. Thus all official packages keep ending up in '/var/cache/pacman/pkg/'
# while all AUR packages automatically end up at '/var/cache/aur/pkg/'.
CacheDir = /var/cache/aur/pkg/
[local-aur]
SigLevel = PackageOptional DatabaseOptional
Server = file:///var/cache/aur/pkg