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 38s
Test setup and build APKs / Build-and-Create-Development-Environment (push) Successful in 11s

This commit is contained in:
2025-12-09 14:09:29 +01:00
parent de57a4b78b
commit b34ff3169e
2 changed files with 2 additions and 2 deletions

View File

@@ -31,6 +31,6 @@ jobs:
- name: Check out Repository - name: Check out Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Start setup proces - name: Start setup process
run: | run: |
./setup.sh ./setup.sh

2
dist/pacman.sh vendored
View File

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