diff mbox

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

Message ID 1270634743-10220-1-git-send-email-apw@canonical.com
State Accepted
Delegated to: Andy Whitcroft
Headers show

Commit Message

Andy Whitcroft April 7, 2010, 10:05 a.m. UTC
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(-)

Comments

Leann Ogasawara April 7, 2010, 3:59 p.m. UTC | #1
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. UTC | #2
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 Ian King April 7, 2010, 4:51 p.m. UTC | #3
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. UTC | #4
Applied to Lucid.

-apw
diff mbox

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