Skip to content

Commit

Permalink
Auto merge of #108951 - cuviper:solaris-debs, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
ci: use `apt install --download-only` for solaris debs
  • Loading branch information
bors committed Mar 10, 2023
2 parents 39f2657 + 258c7e7 commit f37f854
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,22 @@ cd solaris

dpkg --add-architecture $APT_ARCH
apt-get update
apt-get download $(apt-cache depends --recurse --no-replaces \
apt-get install -y --download-only \
libc:$APT_ARCH \
liblgrp-dev:$APT_ARCH \
liblgrp:$APT_ARCH \
libm-dev:$APT_ARCH \
libpthread:$APT_ARCH \
libresolv:$APT_ARCH \
librt:$APT_ARCH \
libsendfile-dev:$APT_ARCH \
libsendfile:$APT_ARCH \
libsocket:$APT_ARCH \
system-crt:$APT_ARCH \
system-header:$APT_ARCH \
| grep "^\w")
system-header:$APT_ARCH

for deb in *$APT_ARCH.deb; do
for deb in /var/cache/apt/archives/*$APT_ARCH.deb; do
dpkg -x $deb .
done
apt-get clean

# The -dev packages are not available from the apt repository we're using.
# However, those packages are just symlinks from *.so to *.so.<version>.
Expand Down

0 comments on commit f37f854

Please sign in to comment.