Skip to content

Commit 33de8bf

Browse files
committed
try eatmydata
1 parent f66cabe commit 33de8bf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

_ci-linux-debian.sh

+5-4
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,21 @@ elif [[ "${CW_CONFIG:-}" = *'linux'* ]]; then
104104
fi
105105

106106
apt-get --option Dpkg::Use-Pty=0 --yes update
107+
apt-get --option Dpkg::Use-Pty=0 --yes install --no-install-suggests --no-install-recommends eatmydata
107108
# shellcheck disable=SC2086
108-
apt-get --option Dpkg::Use-Pty=0 --yes install --no-install-suggests --no-install-recommends \
109+
eatmydata apt-get --option Dpkg::Use-Pty=0 --yes install --no-install-suggests --no-install-recommends \
109110
curl ca-certificates git gpg gpg-agent patch ssh rsync python3-pefile make cmake ninja-build \
110111
libssl-dev zlib1g-dev \
111112
zip xz-utils time jq secure-delete ${extra}
112113

113114
if [ -n "${dl}" ]; then
114115
# shellcheck disable=SC2086
115-
apt-get --option Dpkg::Use-Pty=0 --yes download ${dl}
116+
eatmydata apt-get --option Dpkg::Use-Pty=0 --yes download ${dl}
116117
# https://deb.debian.org/debian/pool/main/l/llvm-toolchain-17/libclang-rt-17-dev_17.0.5-1_arm64.deb -> libclang-rt-17-dev_1%3a17.0.5-1_arm64.deb
117118
# libclang-common-15-dev_1%3a15.0.6-4+b1_amd64.deb
118119
for f in ./*.deb; do
119-
dpkg-deb --contents "${f}"
120-
dpkg-deb --extract --verbose "${f}" my-pkg
120+
eatmydata dpkg-deb --contents "${f}"
121+
eatmydata dpkg-deb --extract --verbose "${f}" my-pkg
121122
done
122123
if [ ! -d 'my-pkg/usr/lib/clang' ]; then
123124
ln -s -f "llvm${CW_CCSUFFIX}/lib/clang" 'my-pkg/usr/lib/clang'

0 commit comments

Comments
 (0)