Skip to content
Snippets Groups Projects
Commit e954d2be authored by Arnaud Ferraris's avatar Arnaud Ferraris
Browse files

ci-buildpackage: use wrap-and-sort as a workaround for odd packages


A lot of `node-*` packages have their Build-Depends formatted in a way
apt can't parse, causing CI failures.

Using wrap-and-sort beforehand in order to make sure the file format is
correct will help working around these issues.

Signed-off-by: default avatarArnaud Ferraris <arnaud.ferraris@collabora.com>
parent 9e281a14
No related branches found
No related tags found
2 merge requests!188RFC: ci-buildpackage: use wrap-and-sort as a workaround for odd packages,!93WIP: documentation-builder: Rebase on Apertis instead of Debian Buster
Pipeline #236536 passed
......@@ -11,11 +11,17 @@ set -ex
export DEBIAN_FRONTEND=noninteractive
# Works around node-* packages having Build-Depends apt can't parse
wrap-and-sort
apt-get -qy update
apt-get -qy -o APT::Get::Build-Dep-Automatic=yes \
-o Acquire::http::Pipeline-Depth=0 \
build-dep "$(pwd)"
# Revert changes made by `wrap-and-sort`
git restore debian
dpkg-checkbuilddeps
dversion="$(dpkg-parsechangelog -S Version)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment