[PATCH Precise LBM] UBUNTU: Add Conflicts: for compat-wireless stacks

Tim Gardner tim.gardner at canonical.com
Fri Apr 19 13:46:15 UTC 2013


From: Leann Ogasawara <leann.ogasawara at canonical.com>

BugLink: http://bugs.launchpad.net/bugs/1068751

We allow multiple upstream versions of the compat-wireless stack to be
packaged and installed via LBM. There currently exists a potential for
conflicts when installing multiple versions. Add a Conflicts: statement
to the control file to ensure only a single stack can be installed at a
given time.

Signed-off-by: Leann Ogasawara <leann.ogasawara at canonical.com>
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
 debian/control.d/flavour-control.stub |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/control.d/flavour-control.stub b/debian/control.d/flavour-control.stub
index a64b8ea..a271154 100644
--- a/debian/control.d/flavour-control.stub
+++ b/debian/control.d/flavour-control.stub
@@ -24,6 +24,7 @@ Architecture: ARCH
 Section: SECTION_IMAGE
 Priority: optional
 Provides: =PROVIDES=
+Conflicts:linux-backports-modules-cw-3.4-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.5-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.6-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.7-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.8-PKGVER-ABINUM-FLAVOUR
 Depends: linux-image-PKGVER-ABINUM-FLAVOUR
 Pre-Depends: dpkg (>= 1.10.24)
 Description: compat-wireless Linux modules for version PKGVER on DESC
@@ -39,6 +40,7 @@ Architecture: ARCH
 Section: SECTION_IMAGE
 Priority: optional
 Provides: =PROVIDES=
+Conflicts:linux-backports-modules-cw-3.3-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.5-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.6-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.7-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.8-PKGVER-ABINUM-FLAVOUR
 Depends: linux-image-PKGVER-ABINUM-FLAVOUR
 Pre-Depends: dpkg (>= 1.10.24)
 Description: compat-wireless Linux modules for version PKGVER on DESC
@@ -54,6 +56,7 @@ Architecture: ARCH
 Section: SECTION_IMAGE
 Priority: optional
 Provides: =PROVIDES=
+Conflicts:linux-backports-modules-cw-3.3-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.4-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.6-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.7-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.8-PKGVER-ABINUM-FLAVOUR
 Depends: linux-image-PKGVER-ABINUM-FLAVOUR
 Pre-Depends: dpkg (>= 1.10.24)
 Description: compat-wireless Linux modules for version PKGVER on DESC
@@ -69,6 +72,7 @@ Architecture: ARCH
 Section: SECTION_IMAGE
 Priority: optional
 Provides: =PROVIDES=
+Conflicts:linux-backports-modules-cw-3.3-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.4-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.5-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.7-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.8-PKGVER-ABINUM-FLAVOUR
 Depends: linux-image-PKGVER-ABINUM-FLAVOUR
 Pre-Depends: dpkg (>= 1.10.24)
 Description: compat-wireless Linux modules for version PKGVER on DESC
@@ -84,6 +88,7 @@ Architecture: ARCH
 Section: SECTION_IMAGE
 Priority: optional
 Provides: =PROVIDES=
+Conflicts:linux-backports-modules-cw-3.3-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.4-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.5-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.6-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.8-PKGVER-ABINUM-FLAVOUR
 Depends: linux-image-PKGVER-ABINUM-FLAVOUR
 Pre-Depends: dpkg (>= 1.10.24)
 Description: compat-wireless Linux modules for version PKGVER on DESC
@@ -99,6 +104,7 @@ Architecture: ARCH
 Section: SECTION_IMAGE
 Priority: optional
 Provides: =PROVIDES=
+Conflicts:linux-backports-modules-cw-3.3-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.4-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.5-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.6-PKGVER-ABINUM-FLAVOUR, linux-backports-modules-cw-3.7-PKGVER-ABINUM-FLAVOUR
 Depends: linux-image-PKGVER-ABINUM-FLAVOUR
 Pre-Depends: dpkg (>= 1.10.24)
 Description: compat-wireless Linux modules for version PKGVER on DESC
-- 
1.7.9.5





More information about the kernel-team mailing list