From 6ad4f8aeea61534bd8a753e1a85fb0dcca44f852 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dylan=20A=C3=AFssi?= <dylan.aissi@collabora.com>
Date: Thu, 31 Oct 2024 15:47:26 +0100
Subject: [PATCH] ci-buildpackage: drop the use of wrap-and-sort
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This was a workaround for odd nodes packages that
apt was not able to parse. See
https://gitlab.apertis.org/infrastructure/apertis-docker-images/-/commit/e954d2be4e0e2b451f8da2bbd8d57afc5be58895

This is no longer required since it was fixed in apt:
https://salsa.debian.org/apt-team/apt/-/merge_requests/167

Having this workaround leads to other apt failures
to resolve dependencies.

Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com>
---
 tools/ci-buildpackage | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tools/ci-buildpackage b/tools/ci-buildpackage
index 465e175..970fdc8 100755
--- a/tools/ci-buildpackage
+++ b/tools/ci-buildpackage
@@ -11,17 +11,11 @@ set -ex
 
 export DEBIAN_FRONTEND=noninteractive
 
-# Works around node-* packages having Build-Depends apt can't parse
-wrap-and-sort -f debian/control
-
 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 checkout debian/
-
 dpkg-checkbuilddeps
 
 dversion="$(dpkg-parsechangelog -S Version)"
-- 
GitLab