From 0d6d3220653f45394ce4367ae79c020871d58483 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 24 Mar 2020 16:20:14 +0100 Subject: [PATCH 1/2] deb: add missing format version dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: warning: source directory 'containerd' is not - 'containerd.io-1.2.13' dpkg-source: info: using source format '1.0' Signed-off-by: Sebastiaan van Stijn --- scripts/build-deb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-deb b/scripts/build-deb index f7e794de..591bd098 100755 --- a/scripts/build-deb +++ b/scripts/build-deb @@ -47,7 +47,7 @@ DIST_VERSION=$(lsb_release -sc) ARCH=$(dpkg --print-architecture) OUT_DIR="/out/${DIST_ID}/${DIST_VERSION}/${ARCH}/" mkdir -p "${OUT_DIR}" -mv -v ../*.deb "${OUT_DIR}" +mv -v "../${PACKAGE}"* "${OUT_DIR}" # Only create an archive if env variable is specified if [[ -n "${CREATE_ARCHIVE}" ]]; then From 092e2b154f6d10f499d27ab2312bbc47c04b4e1f Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 24 Mar 2020 16:21:46 +0100 Subject: [PATCH 2/2] deb: add missing format version dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: warning: source directory 'containerd' is not - 'containerd.io-1.2.13' dpkg-source: info: using source format '1.0' Signed-off-by: Sebastiaan van Stijn --- debian/source/format | 1 + scripts/build-deb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 debian/source/format diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..d3827e75 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0 diff --git a/scripts/build-deb b/scripts/build-deb index 591bd098..f7e794de 100755 --- a/scripts/build-deb +++ b/scripts/build-deb @@ -47,7 +47,7 @@ DIST_VERSION=$(lsb_release -sc) ARCH=$(dpkg --print-architecture) OUT_DIR="/out/${DIST_ID}/${DIST_VERSION}/${ARCH}/" mkdir -p "${OUT_DIR}" -mv -v "../${PACKAGE}"* "${OUT_DIR}" +mv -v ../*.deb "${OUT_DIR}" # Only create an archive if env variable is specified if [[ -n "${CREATE_ARCHIVE}" ]]; then