Patchwork [1/1] UBUNTU: add Breaks: against hardy lvm2

login
register
mail settings
Submitter Andy Whitcroft
Date April 7, 2010, 10:05 a.m.
Message ID <1270634743-10220-1-git-send-email-apw@canonical.com>
Download mbox | patch
Permalink /patch/49580/
State Accepted
Delegated to: Andy Whitcroft
Headers show

Comments

Andy Whitcroft - April 7, 2010, 10:05 a.m.
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 <apw@canonical.com>
---
 debian.master/control.d/flavour-control.stub |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Leann Ogasawara - April 7, 2010, 3:59 p.m.
On Wed, 2010-04-07 at 11:05 +0100, Andy Whitcroft wrote:
> 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 <apw@canonical.com>

Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>

> ---
>  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
> -- 
> 1.7.0
> 
>
Amit Kucheria - April 7, 2010, 4:41 p.m.
On 10 Apr 07, Andy Whitcroft wrote:
> 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 <apw@canonical.com>
Acked-by: Amit Kucheria <amit.kucheria@canonical.com>

> ---
>  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
> -- 
> 1.7.0
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Colin King - April 7, 2010, 4:51 p.m.
On Wed, 2010-04-07 at 11:05 +0100, Andy Whitcroft wrote:
> 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.

Yep, looks good to me.

Acked-by: Colin King <colin.king@canonical.com>

> 
> Signed-off-by: Andy Whitcroft <apw@canonical.com>
> ---
>  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
> -- 
> 1.7.0
> 
>
Andy Whitcroft - April 8, 2010, 6:19 p.m.
Applied to Lucid.

-apw

Patch

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