From patchwork Fri Apr 19 13:46:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Gardner X-Patchwork-Id: 237954 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 1CDB32C013F for ; Fri, 19 Apr 2013 23:46:36 +1000 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UTBdy-00030N-Qe; Fri, 19 Apr 2013 13:46:26 +0000 Received: from mail.tpi.com ([70.99.223.143]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UTBdx-00030B-A9 for kernel-team@lists.ubuntu.com; Fri, 19 Apr 2013 13:46:25 +0000 Received: from salmon.rtg.net (mail.tpi.com [70.99.223.143]) by mail.tpi.com (Postfix) with ESMTP id 64A893350AF; Fri, 19 Apr 2013 06:46:24 -0700 (PDT) Received: by salmon.rtg.net (Postfix, from userid 1000) id 0317622C4D; Fri, 19 Apr 2013 07:46:23 -0600 (MDT) From: Tim Gardner To: kernel-team@lists.ubuntu.com Subject: [PATCH Precise LBM] UBUNTU: Add Conflicts: for compat-wireless stacks Date: Fri, 19 Apr 2013 07:46:15 -0600 Message-Id: <1366379175-22073-1-git-send-email-tim.gardner@canonical.com> X-Mailer: git-send-email 1.7.9.5 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com From: Leann Ogasawara 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 Signed-off-by: Tim Gardner --- 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