Skip to content

Commit

Permalink
prepare: use builduser to download pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
135e2 committed Dec 13, 2024
1 parent 48cf18d commit e51b188
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ function prepare() {
sudo -u builduser cp -v aurutils/aurutils-*.pkg.tar.zst /home/builduser/localrepo/
# Disable sandbox for pacman 7
sed -i "s/#DisableSandbox/DisableSandbox/g" /etc/pacman.conf
# https://archlinux.org/news/manual-intervention-for-pacman-700-and-local-repositories-required/
sed -i "s/DownloadUser = alpm/DownloadUser = builduser/g" /etc/pacman.conf
# Refreshing repo is nedded
pacman -Sy

Expand Down

0 comments on commit e51b188

Please sign in to comment.