Skip to content

Commit

Permalink
workflow: fix (hopefully) AUR build
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni500github authored Dec 21, 2024
1 parent 37f292e commit 54707cf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,19 @@ jobs:

- name: Install the packages
run: pacman -Syyu git sudo base-devel fakeroot pkgconf tree neofetch --noconfirm --needed

- name: Configure sudo and PAM
run: |
echo "nobody:x:65534:65534:nobody:/nonexistent:/usr/bin/nologin" >> /etc/passwd
echo "nobody:*:18905:0:99999:7:::" >> /etc/shadow
chmod 640 /etc/shadow
echo -e "account required pam_unix.so" >> /etc/pam.d/sudo
- name: get /etc/sudoers
run: |
sed -i "s#root ALL=(ALL:ALL) ALL#root ALL=(ALL:ALL) NOPASSWD: ALL\nnobody ALL=(ALL:ALL) NOPASSWD: ALL#g" /etc/sudoers
cat /etc/sudoers
- name: get /etc/makepkg.conf
run: |
sed -i "s#purge debug lto#purge debug lto#" /etc/makepkg.conf
Expand Down

0 comments on commit 54707cf

Please sign in to comment.