Skip to content

Commit

Permalink
CI: arch: do not package up source files for stepping through code wi…
Browse files Browse the repository at this point in the history
…th 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.
  • Loading branch information
eli-schwartz committed Jul 24, 2024
1 parent 4205c1e commit f009ccb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/ciimage/arch/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit f009ccb

Please sign in to comment.