From eb3f15f346c847f46e13b7dcfe7eb6eb8ea5d99b Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Mon, 3 Feb 2025 19:10:02 -0500 Subject: [PATCH] Update test-install-scripts.yml --- .github/workflows/test-install-scripts.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-install-scripts.yml b/.github/workflows/test-install-scripts.yml index 2e1a43f94a73..d8d80f7c76b6 100644 --- a/.github/workflows/test-install-scripts.yml +++ b/.github/workflows/test-install-scripts.yml @@ -208,9 +208,10 @@ jobs: run: | pacman --noconfirm -Syu pacman --noconfirm -S base base-devel git sudo openssl-1.1 - git clone https://aur.archlinux.org/yay.git - (cd yay && makepkg -si) - yay -S prelink + useradd builduser -m + passwd -d builduser + printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers + sudo -u builduser bash -c 'cd ~ && git clone https://aur.archlinux.org/execstack.git && cd execstack && makepkg -s --noconfirm' # The behavior we follow in install.sh is unique with Arch in that # we leave it to the user to install the appropriate version of python, # so we need to install python here in order for the test to succeed.