From 961710740220c283c5879a28fe55818886c66c35 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Sun, 15 Jun 2025 17:45:49 +0200 Subject: [PATCH] deb: lintian Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- pkg/buildx/Dockerfile | 2 +- pkg/buildx/scripts/pkg-deb-build.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/buildx/Dockerfile b/pkg/buildx/Dockerfile index 92266927..a402fc39 100644 --- a/pkg/buildx/Dockerfile +++ b/pkg/buildx/Dockerfile @@ -92,7 +92,7 @@ ENV GOTOOLCHAIN="local" ENV GO111MODULE="on" ENV CGO_ENABLED="0" ARG DISTRO_NAME -RUN apt-get update && apt-get install -y --no-install-recommends apt-utils bash ca-certificates curl devscripts equivs git +RUN apt-get update && apt-get install -y --no-install-recommends apt-utils bash ca-certificates curl devscripts equivs git lintian COPY deb /root/package/debian ARG TARGETPLATFORM RUN mk-build-deps -t "xx-apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y" -i /root/package/debian/control diff --git a/pkg/buildx/scripts/pkg-deb-build.sh b/pkg/buildx/scripts/pkg-deb-build.sh index 7568ea1f..97a8b3bd 100755 --- a/pkg/buildx/scripts/pkg-deb-build.sh +++ b/pkg/buildx/scripts/pkg-deb-build.sh @@ -70,3 +70,4 @@ set -x chmod -x debian/control debian/docs VERSION=${GENVER_VERSION} REVISION=${GENVER_COMMIT} dpkg-buildpackage $PKG_DEB_BUILDFLAGS --host-arch $(xx-info debian-arch) --target-arch $(xx-info debian-arch) cp /root/docker-* "${pkgoutput}"/ +lintian --no-tag-display-limit --display-info --display-experimental --suppress-tags=statically-linked-binary "${pkgoutput}"/docker-*.deb