From 903408a1996db0f1f51165a6cd68d609401aac1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 26 Jan 2024 18:04:40 +0100 Subject: [PATCH] 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. --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5384bb04..fccb8135 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -233,8 +233,8 @@ jobs: image: docker.io/library/archlinux:base steps: - - name: Install the standard pacman config - run: cp /etc/pacman.conf.pacnew /etc/pacman.conf + - name: Disable excluding documenation in pacman configuration + run: sed -i -e '\| usr/share/gtk-doc/|d' -e '\| usr/share/doc/|d' /etc/pacman.conf - name: Install dependencies run: pacman -Syu --needed --noconfirm base-devel file git glib2 glib2-docs gobject-introspection gtk-doc jq libyaml meson python-gobject python-six valgrind