fixed issue for makepkg paru and Root execution on worflow container
All checks were successful
Test setup and build APKs archlinux / Build-APK-Arch-Linux (push) Successful in 40s
Test setup and build APKs / Build-and-Create-Development-Environment (push) Successful in 14s

This commit is contained in:
2025-12-09 14:12:54 +01:00
parent b34ff3169e
commit 45dda34478

4
dist/pacman.sh vendored
View File

@@ -35,7 +35,9 @@ else
TEMP_USER="tempuser"
useradd -m "$TEMP_USER"
chown -R "$TEMP_USER":"$TEMP_USER" .
su "$TEMP_USER" -c "makepkg -si --noconfirm"
login "$TEMP_USER"
makepkg -si --noconfirm
logout
userdel -r "$TEMP_USER"
else
echo "Building paru as user $USER..."