From 4d5ec05eb41a36a21e47e973d7f9d7453532e52d Mon Sep 17 00:00:00 2001 From: Frank Wunderlich Date: Tue, 26 Nov 2024 22:41:29 +0100 Subject: [PATCH] ci: try to fix ports.sources --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0a17f6c094f..ff370d611ea2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,10 +60,11 @@ jobs: - name: update apt-repos (u24) if: env.UBUNTU_MAJOR_VERSION == '24' run: | - head -5 /etc/apt/sources.list.d/ubuntu.sources | sudo tee /etc/apt/sources.list.d/ports.sources + sudo cp /etc/apt/sources.list.d/ubuntu.sources /etc/apt/sources.list.d/ports.sources sudo sed -i.bak -e 's/^\(Suites:.*\)$/\1\nArchitectures: amd64 i386/' /etc/apt/sources.list.d/ubuntu.sources sudo sed -i.bak -e 's/^URIs:.*$/URIs: http:\/\/ports.ubuntu.com\/ubuntu-ports\//' /etc/apt/sources.list.d/ports.sources sudo sed -i -e 's/^\(Suites:.*\)$/\1\nArchitectures: armhf arm64/' /etc/apt/sources.list.d/ports.sources + cat /etc/apt/sources.list.d/ports.sources - name: Install depencies run: |