[xenial/master-next 1/3] UBUNTU: [Config] make linux-tools-common and linux-cloud-tools-common provide linux-gke versions

Andy Whitcroft apw at canonical.com
Tue May 9 17:52:07 UTC 2017


We incorrectly have been producing linux-gke-tools-common and
linux-gke-cloud-tools-common packages with conflicting contents to our own.
This is wrong.  Make our packages Provides: their linux-gke equivalents to
allow us to replace them without change to the existing linux-tools-gke
packages.  Conflicts:/Replaces: on the existing packages to ensure they
are removed before we are updated.

BugLink: http://bugs.launchpad.net/bugs/1688579
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 debian.master/control.stub.in | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/debian.master/control.stub.in b/debian.master/control.stub.in
index d15e2a661882..753a1d76bc6a 100644
--- a/debian.master/control.stub.in
+++ b/debian.master/control.stub.in
@@ -116,6 +116,12 @@ Architecture: all
 Multi-Arch: foreign
 Section: kernel
 Priority: optional
+Provides:
+ linux-gke-tools-common,
+Conflicts:
+ linux-gke-tools-common,
+Replaces:
+ linux-gke-tools-common,
 Depends: ${misc:Depends}, lsb-release
 Description: Linux kernel version specific tools for version PKGVER
  This package provides the architecture independent parts for kernel
@@ -141,6 +147,14 @@ Architecture: all
 Multi-Arch: foreign
 Section: kernel
 Priority: optional
+Breaks:
+ linux-gke-cloud-tools-common (<= 4.4.0-1013.13),
+Replaces:
+ linux-gke-cloud-tools-common (<= 4.4.0-1013.13),
+Conflicts:
+ linux-gke-cloud-tools-common (<= 4.4.0-1013.13),
+Provides:
+ linux-gke-cloud-tools-common,
 Depends: ${misc:Depends}
 Description: Linux kernel version specific cloud tools for version PKGVER
  This package provides the architecture independent parts for kernel
-- 
2.11.0





More information about the kernel-team mailing list