[PATCH] dockerdeb: add Ubuntu Trusty

Anton Shestakov av6 at dwimlabs.net
Thu Mar 10 22:19:57 EST 2016


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1457624779 -28800
#      Thu Mar 10 23:46:19 2016 +0800
# Node ID 00a66c3b2bec3e18f5a8682fc0e67eb1058df2c0
# Parent  9974b8236cac50945d7b529e7c4fae9cf4974443
dockerdeb: add Ubuntu Trusty

One problem reported by lintian is "bad-distribution-in-changes-file unstable"
in changelog, but the current changelog for the official package in Ubuntu also
uses that distribution name (unstable), because they import from Debian. This
certainly doesn't stop the build process.

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -167,6 +167,10 @@ docker-debian-jessie:
 	mkdir -p packages/debian-jessie
 	contrib/dockerdeb debian jessie
 
+docker-ubuntu-trusty:
+	mkdir -p packages/ubuntu-trusty
+	contrib/dockerdeb ubuntu trusty
+
 fedora20:
 	mkdir -p packages/fedora20
 	contrib/buildrpm
diff --git a/contrib/docker/debian-jessie b/contrib/docker/ubuntu-trusty
copy from contrib/docker/debian-jessie
copy to contrib/docker/ubuntu-trusty
--- a/contrib/docker/debian-jessie
+++ b/contrib/docker/ubuntu-trusty
@@ -1,4 +1,4 @@
-FROM debian:jessie
+FROM ubuntu:trusty
 RUN apt-get update && apt-get install -y \
   build-essential \
   debhelper \


More information about the Mercurial-devel mailing list