From 40bf2192f009e4753aecf438b431d50ec55404fd Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 15 Oct 2018 08:40:00 +0200 Subject: [PATCH] travis: fix mk-build-deps call by providing changelog file mk-build-deps started using the changelog file to get the version number, but a bug prevents it from falling back correctly to 1.0 if no changelog is present. This has been fixed upstream in https://salsa.debian.org/debian/devscripts/commit/4b15abd4f0cfe4accbf28f24546891867344a73c, but we can just ship the changelog file until that fix lands. --- travis/travis-base.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/travis/travis-base.Dockerfile b/travis/travis-base.Dockerfile index 7eafb9fb..be3780d4 100644 --- a/travis/travis-base.Dockerfile +++ b/travis/travis-base.Dockerfile @@ -24,6 +24,7 @@ RUN apt-get update && \ # Install i3 build dependencies. COPY debian/control /usr/src/i3-debian-packaging/control +COPY debian/changelog /usr/src/i3-debian-packaging/changelog RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \ rm -rf /var/lib/apt/lists/* -- 2.39.2