summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-07-24 12:23:41 -0400
committerEli Schwartz <eschwartz93@gmail.com>2024-07-24 12:23:41 -0400
commitf009ccb81bde95a414ca071aadfe24b44b39398b (patch)
tree2a2c583d4c6d0fcb6335886a13801f2bc6104edd
parent4205c1ea23b2dc881105ef158eb5cb441380f9ee (diff)
downloadmeson-f009ccb81bde95a414ca071aadfe24b44b39398b.tar.gz
CI: arch: do not package up source files for stepping through code with gdb
makepkg can do this, if when building packages from source you enable debug. This is apparently being shipped in the /etc/makepkg.conf in docker containers, which means building AUR packages now requires installing debugedit, and then bloating your container with /usr/src/debug. We really do not want that. Reconfigure so that we do not, in fact, need that.
-rwxr-xr-xci/ciimage/arch/install.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/ciimage/arch/install.sh b/ci/ciimage/arch/install.sh
index da55f1bee..8f5245149 100755
--- a/ci/ciimage/arch/install.sh
+++ b/ci/ciimage/arch/install.sh
@@ -41,6 +41,9 @@ useradd -m $AUR_USER
echo "${AUR_USER}:" | chpasswd -e
echo "$AUR_USER ALL = NOPASSWD: ALL" >> /etc/sudoers
+# fix installing packages from source, attempting to install debug info
+sed -i '/OPTIONS/{s|debug|!debug|}' /etc/makepkg.conf
+
# Install yay
su $AUR_USER -c 'cd; git clone https://aur.archlinux.org/yay.git'
su $AUR_USER -c 'cd; cd yay; makepkg'