Skip to content

Commit 903408a

Browse files
committed
CI: Arch: Edit /etc/pacman.conf instead of copying a nonexistent file
Base archlinux image stopped delivering a backed up configuration file for pacman and thus our CI failed: Run cp /etc/pacman.conf.pacnew /etc/pacman.conf cp: cannot stat '/etc/pacman.conf.pacnew': No such file or directory Error: Process completed with exit code 1. We used to copy that file to change a pacman configuration so that GLib documentation files are not removed when installaing packages. This stopped to working. This patch edits the file instead.
1 parent bfde7f2 commit 903408a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ jobs:
233233
image: docker.io/library/archlinux:base
234234

235235
steps:
236-
- name: Install the standard pacman config
237-
run: cp /etc/pacman.conf.pacnew /etc/pacman.conf
236+
- name: Disable excluding documenation in pacman configuration
237+
run: sed -i -e '\| usr/share/gtk-doc/|d' -e '\| usr/share/doc/|d' /etc/pacman.conf
238238

239239
- name: Install dependencies
240240
run: pacman -Syu --needed --noconfirm base-devel file git glib2 glib2-docs gobject-introspection gtk-doc jq libyaml meson python-gobject python-six valgrind

0 commit comments

Comments
 (0)