From patchwork Wed Apr 7 10:05:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Whitcroft X-Patchwork-Id: 49580 X-Patchwork-Delegate: apw@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 5EFAAB7D30 for ; Wed, 7 Apr 2010 20:06:01 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NzS8q-0003Pl-4g; Wed, 07 Apr 2010 11:05:48 +0100 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NzS8n-0003Pe-ML for kernel-team@lists.ubuntu.com; Wed, 07 Apr 2010 11:05:45 +0100 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1NzS8m-0007Ji-M4 for ; Wed, 07 Apr 2010 11:05:45 +0100 Received: from 79-66-242-230.dynamic.dsl.as9105.com ([79.66.242.230] helo=localhost.localdomain) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NzS8m-0005Ys-Gw for kernel-team@lists.ubuntu.com; Wed, 07 Apr 2010 11:05:44 +0100 From: Andy Whitcroft To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/1] UBUNTU: add Breaks: against hardy lvm2 Date: Wed, 7 Apr 2010 11:05:43 +0100 Message-Id: <1270634743-10220-1-git-send-email-apw@canonical.com> X-Mailer: git-send-email 1.7.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com BugLink: http://bugs.launchpad.net/bugs/528155 Installing lucid kernel on to a Hardy system which uses lvm2 will result in an unbootable system. While this is not supported per-see it is possible to get into this combination with an interrupted upgrade. It is easy to avoid by ensuring lvm2 gets upgraded first via a Breaks: directive. Signed-off-by: Andy Whitcroft Acked-by: Leann Ogasawara Acked-by: Amit Kucheria Acked-by: Colin King --- debian.master/control.d/flavour-control.stub | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/debian.master/control.d/flavour-control.stub b/debian.master/control.d/flavour-control.stub index ccde915..a2d2a4d 100644 --- a/debian.master/control.d/flavour-control.stub +++ b/debian.master/control.d/flavour-control.stub @@ -29,6 +29,7 @@ Pre-Depends: dpkg (>= 1.10.24) Provides: linux-image, linux-image-2.6, fuse-module, =PROVIDES= Depends: ${misc:Depends}, ${shlibs:Depends}, initramfs-tools (>= 0.36ubuntu6), coreutils | fileutils (>= 4.0), module-init-tools (>= 3.3-pre11-4ubuntu3), wireless-crda Conflicts: hotplug (<< 0.0.20040105-1) +Breaks: lvm2 (<< 2.02.54-1ubuntu3) Recommends: BOOTLOADER Suggests: fdutils, SRCPKGNAME-doc-PKGVER | SRCPKGNAME-source-PKGVER, SRCPKGNAME-tools Description: Linux kernel image for version PKGVER on DESC