mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-14 09:45:51 +00:00
Set package download arch via APT config option
Do this instead of appending package names with ":{arch}", which fails when downloading architecture-independent packages for a non-host arch.
This commit is contained in:
parent
d2ac174d80
commit
31938f538a
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ RUN \
|
|||
for arch in arm64 amd64; do \
|
||||
mkdir -p /tmp/debs-${arch} && \
|
||||
cd /tmp/debs-${arch} && \
|
||||
apt-get download $(sed '/:/!s/$/:'"${arch}"'/' /tmp/pkg-list); \
|
||||
apt-get -o APT::Architecture="${arch}" download $(cat /tmp/pkg-list); \
|
||||
done
|
||||
|
||||
# Extract the debs for each architecture
|
||||
|
|
Loading…
Add table
Reference in a new issue