[SRU][F][PATCH v2] UBUNTU: [Packaging] Add Conflicts/Replaces to remove linux-oem-5.6-tools-common and -tools-host

Timo Aaltonen tjaalton at ubuntu.com
Fri Jun 12 10:24:30 UTC 2020


From: Timo Aaltonen <timo.aaltonen at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1881120

linux-oem-5.6 built -tools-common and -tools-host, make sure they're removed on upgrade.

Signed-off-by: Timo Aaltonen <timo.aaltonen at canonical.com>
Acked-by: Stefan Bader <stefan.bader at canonical.com>
---
 debian.master/control.stub.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian.master/control.stub.in b/debian.master/control.stub.in
index a422d8ef2b50..b1fadfec2d46 100644
--- a/debian.master/control.stub.in
+++ b/debian.master/control.stub.in
@@ -97,6 +97,8 @@ Multi-Arch: foreign
 Section: kernel
 Priority: optional
 Depends: ${misc:Depends}, lsb-release
+Conflicts: linux-oem-5.6-tools-common
+Replaces: linux-oem-5.6-tools-common
 Description: Linux kernel version specific tools for version PKGVER
  This package provides the architecture independent parts for kernel
  version locked tools (such as perf and x86_energy_perf_policy) for
@@ -145,6 +147,8 @@ Multi-Arch: foreign
 Section: kernel
 Priority: optional
 Depends: ${misc:Depends}, python3
+Conflicts: linux-oem-5.6-tools-host
+Replaces: linux-oem-5.6-tools-host
 Description: Linux kernel VM host tools
  This package provides kernel tools useful for VM hosts.
 
-- 
2.25.1




More information about the kernel-team mailing list