From 82bd0bb4519a72c4583d94965dbec0c85486ea3a Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Wed, 8 Mar 2023 09:28:38 -0500 Subject: [PATCH] builder-support: Prepare to make Debian-style source artifacts Debian requires an 'orig' tarball to be part of the source artifact set (along with the .dsc and .debian.tar.xz files), so the debbuild-prepare Dockerfile will now make a copy of the sdist-provided tarball with the proper name. --- builder-support/dockerfiles/Dockerfile.debbuild-prepare | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/builder-support/dockerfiles/Dockerfile.debbuild-prepare b/builder-support/dockerfiles/Dockerfile.debbuild-prepare index 2c8626e1e4..7f03177fe6 100644 --- a/builder-support/dockerfiles/Dockerfile.debbuild-prepare +++ b/builder-support/dockerfiles/Dockerfile.debbuild-prepare @@ -17,12 +17,18 @@ COPY --from=sdist /sdist /sdist @IF [ -n "$M_authoritative$M_all" ] RUN tar xvf /sdist/pdns-${BUILDER_VERSION}.tar.bz2 +# create copy of source tarball with name that dpkg-source requires +RUN cp /sdist/pdns-${BUILDER_VERSION}.tar.bz2 pdns_${BUILDER_VERSION}.orig.tar.bz2 @ENDIF @IF [ -n "$M_recursor$M_all" ] RUN tar xvf /sdist/pdns-recursor-${BUILDER_VERSION}.tar.bz2 +# create copy of source tarball with name that dpkg-source requires +RUN cp /sdist/pdns-recursor-${BUILDER_VERSION}.tar.bz2 pdns-recursor_${BUILDER_VERSION}.orig.tar.bz2 @ENDIF @IF [ -n "$M_dnsdist$M_all" ] RUN tar xvf /sdist/dnsdist-${BUILDER_VERSION}.tar.bz2 +# create copy of source tarball with name that dpkg-source requires +RUN cp /sdist/dnsdist-${BUILDER_VERSION}.tar.bz2 dnsdist_${BUILDER_VERSION}.orig.tar.bz2 @ENDIF -- 2.47.2