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

login
register
mail settings
Submitter Tim Gardner
Date April 19, 2013, 1:46 p.m.
Message ID <1366379175-22073-1-git-send-email-tim.gardner@canonical.com>
Download mbox | patch
Permalink /patch/237954/
State New
Headers show

Comments

Tim Gardner - April 19, 2013, 1:46 p.m.
From: Leann Ogasawara <leann.ogasawara@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@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
 debian/control.d/flavour-control.stub |    6 ++++++
 1 file changed, 6 insertions(+)
Tim Gardner - April 22, 2013, 1:13 p.m.

Patch

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