Patchwork [Precise] d-i: Move multipath modules into their own udeb

login
register
mail settings
Submitter Stefan Bader
Date March 20, 2012, 3:56 p.m.
Message ID <1332258998-12730-1-git-send-email-stefan.bader@canonical.com>
Download mbox | patch
Permalink /patch/147811/
State New
Headers show

Comments

Stefan Bader - March 20, 2012, 3:56 p.m.
Sorry, this came up after I submitted and after picking up into
Precise. Currently the installer uses a special handling to find
the multipath module(s). The get rid of that deviation to Debian
it would be good to have them in their own udeb.

-Stefan

From 5393c4339bc770c6ccb55b51ef23d74eabcc9bfb Mon Sep 17 00:00:00 2001
From: Stefan Bader <stefan.bader@canonical.com>
Date: Tue, 20 Mar 2012 16:01:31 +0100
Subject: [PATCH] UBUNTU: d-i: Move multipath modules into their own udeb

BugLink: http://bugs.launchpad.net/bugs/959749

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
 debian.master/d-i/modules/md-modules        |    1 -
 debian.master/d-i/modules/multipath-modules |    2 ++
 debian.master/d-i/package-list              |    6 ++++++
 3 files changed, 8 insertions(+), 1 deletions(-)
 create mode 100644 debian.master/d-i/modules/multipath-modules
Leann Ogasawara - March 20, 2012, 4:17 p.m.
Applied to Precise master-next.  I amended the commit to add a BugLink
for 598251.

Thanks,
Leann

On Tue, 2012-03-20 at 16:56 +0100, Stefan Bader wrote:
> Sorry, this came up after I submitted and after picking up into
> Precise. Currently the installer uses a special handling to find
> the multipath module(s). The get rid of that deviation to Debian
> it would be good to have them in their own udeb.
> 
> -Stefan
> 
> From 5393c4339bc770c6ccb55b51ef23d74eabcc9bfb Mon Sep 17 00:00:00 2001
> From: Stefan Bader <stefan.bader@canonical.com>
> Date: Tue, 20 Mar 2012 16:01:31 +0100
> Subject: [PATCH] UBUNTU: d-i: Move multipath modules into their own udeb
> 
> BugLink: http://bugs.launchpad.net/bugs/959749
> 
> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
> ---
>  debian.master/d-i/modules/md-modules        |    1 -
>  debian.master/d-i/modules/multipath-modules |    2 ++
>  debian.master/d-i/package-list              |    6 ++++++
>  3 files changed, 8 insertions(+), 1 deletions(-)
>  create mode 100644 debian.master/d-i/modules/multipath-modules
> 
> diff --git a/debian.master/d-i/modules/md-modules b/debian.master/d-i/modules/md-modules
> index 9b43a3f..18d0214 100644
> --- a/debian.master/d-i/modules/md-modules
> +++ b/debian.master/d-i/modules/md-modules
> @@ -1,4 +1,3 @@
> -dm-multipath ?
>  dm-crypt ?
>  dm-zero ?
>  faulty ?
> diff --git a/debian.master/d-i/modules/multipath-modules b/debian.master/d-i/modules/multipath-modules
> new file mode 100644
> index 0000000..3516fde
> --- /dev/null
> +++ b/debian.master/d-i/modules/multipath-modules
> @@ -0,0 +1,2 @@
> +dm-multipath ?
> +dm-round-robin ?
> diff --git a/debian.master/d-i/package-list b/debian.master/d-i/package-list
> index b977acd..e899056 100644
> --- a/debian.master/d-i/package-list
> +++ b/debian.master/d-i/package-list
> @@ -188,3 +188,9 @@ Depends: kernel-image
>  Priority: standard
>  Description: ipmi modules
>  
> +Package: multipath-modules
> +Depends: kernel-image
> +Priority: extra
> +Description: DM-Multipath support
> +  This package contains modules for device-mapper multipath support.
> +
> -- 
> 1.7.9.1
> 
>

Patch

diff --git a/debian.master/d-i/modules/md-modules b/debian.master/d-i/modules/md-modules
index 9b43a3f..18d0214 100644
--- a/debian.master/d-i/modules/md-modules
+++ b/debian.master/d-i/modules/md-modules
@@ -1,4 +1,3 @@ 
-dm-multipath ?
 dm-crypt ?
 dm-zero ?
 faulty ?
diff --git a/debian.master/d-i/modules/multipath-modules b/debian.master/d-i/modules/multipath-modules
new file mode 100644
index 0000000..3516fde
--- /dev/null
+++ b/debian.master/d-i/modules/multipath-modules
@@ -0,0 +1,2 @@ 
+dm-multipath ?
+dm-round-robin ?
diff --git a/debian.master/d-i/package-list b/debian.master/d-i/package-list
index b977acd..e899056 100644
--- a/debian.master/d-i/package-list
+++ b/debian.master/d-i/package-list
@@ -188,3 +188,9 @@  Depends: kernel-image
 Priority: standard
 Description: ipmi modules
 
+Package: multipath-modules
+Depends: kernel-image
+Priority: extra
+Description: DM-Multipath support
+  This package contains modules for device-mapper multipath support.
+