Skip to content

Commit 51bdb0f

Browse files
cuviperMark-Simulacrum
authored andcommitted
ci: use apt install --download-only for solaris debs
1 parent 8182801 commit 51bdb0f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/ci/docker/host-x86_64/dist-various-2/build-solaris-toolchain.sh

+4-6
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,22 @@ cd solaris
3232

3333
dpkg --add-architecture $APT_ARCH
3434
apt-get update
35-
apt-get download $(apt-cache depends --recurse --no-replaces \
35+
apt-get install -y --download-only \
3636
libc:$APT_ARCH \
37-
liblgrp-dev:$APT_ARCH \
3837
liblgrp:$APT_ARCH \
3938
libm-dev:$APT_ARCH \
4039
libpthread:$APT_ARCH \
4140
libresolv:$APT_ARCH \
4241
librt:$APT_ARCH \
43-
libsendfile-dev:$APT_ARCH \
4442
libsendfile:$APT_ARCH \
4543
libsocket:$APT_ARCH \
4644
system-crt:$APT_ARCH \
47-
system-header:$APT_ARCH \
48-
| grep "^\w")
45+
system-header:$APT_ARCH
4946

50-
for deb in *$APT_ARCH.deb; do
47+
for deb in /var/cache/apt/archives/*$APT_ARCH.deb; do
5148
dpkg -x $deb .
5249
done
50+
apt-get clean
5351

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

0 commit comments

Comments
 (0)