From 0c51e1d59b299ba6ebb4d0bb647a7622c6e64667 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Wed, 23 Aug 2023 07:46:58 +0900 Subject: [PATCH] debian-cross-aarch64-prep.sh: Support `file` paths These `file` paths are used to define mirrors on the GitHub Runner Image for Ubuntu 22.04. --- Packaging/nix/debian-cross-aarch64-prep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packaging/nix/debian-cross-aarch64-prep.sh b/Packaging/nix/debian-cross-aarch64-prep.sh index 38f1247d61f9..7e9aa1f53955 100755 --- a/Packaging/nix/debian-cross-aarch64-prep.sh +++ b/Packaging/nix/debian-cross-aarch64-prep.sh @@ -14,7 +14,7 @@ deb [arch=arm64] http://ports.ubuntu.com/ ${FLAVOR} multiverse deb [arch=arm64] http://ports.ubuntu.com/ ${FLAVOR}-updates multiverse deb [arch=arm64] http://ports.ubuntu.com/ ${FLAVOR}-backports main restricted universe multiverse LIST - sudo sed -i 's/deb http/deb [arch=amd64,i386] http/' /etc/apt/sources.list + sudo sed -E -i 's/deb (http|file)/deb [arch=amd64,i386] \1/' /etc/apt/sources.list fi sudo dpkg --add-architecture arm64