diff -Nru powerpc-ibm-utils-1.2.26/debian/changelog powerpc-ibm-utils-1.2.26/debian/changelog --- powerpc-ibm-utils-1.2.26/debian/changelog 2015-10-16 03:54:00.000000000 +0000 +++ powerpc-ibm-utils-1.2.26/debian/changelog 2015-10-20 12:59:34.000000000 +0000 @@ -1,3 +1,10 @@ +powerpc-ibm-utils (1.2.26-1~14.04.1mpathmappings) trusty; urgency=medium + + * mpath_mappings.patch: Map /dev/mapper/mpath* to the right dm-* devices + even if they don't come up as symlinks but actual nodes. (LP: #1501015) + + -- Mathieu Trudel-Lapierre Tue, 20 Oct 2015 13:59:32 +0100 + powerpc-ibm-utils (1.2.26-1~14.04.1) trusty; urgency=medium * Straight backport to trusty for ppc64el hardware enablement. diff -Nru powerpc-ibm-utils-1.2.26/debian/control powerpc-ibm-utils-1.2.26/debian/control --- powerpc-ibm-utils-1.2.26/debian/control 2015-07-27 21:17:55.000000000 +0000 +++ powerpc-ibm-utils-1.2.26/debian/control 2015-10-20 12:59:40.000000000 +0000 @@ -1,7 +1,8 @@ Source: powerpc-ibm-utils Section: utils Priority: important -Maintainer: Adam Conrad +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Adam Conrad Uploaders: Frederic Bonnard Build-Depends: debhelper (>= 9), librtas-dev, librtasevent-dev, zlib1g-dev Standards-Version: 3.9.6 diff -Nru powerpc-ibm-utils-1.2.26/debian/patches/mpath_mappings.patch powerpc-ibm-utils-1.2.26/debian/patches/mpath_mappings.patch --- powerpc-ibm-utils-1.2.26/debian/patches/mpath_mappings.patch 1970-01-01 00:00:00.000000000 +0000 +++ powerpc-ibm-utils-1.2.26/debian/patches/mpath_mappings.patch 2015-10-20 12:53:00.000000000 +0000 @@ -0,0 +1,19 @@ +--- + scripts/ofpathname | 4 ++++ + 1 file changed, 4 insertions(+) + +Index: b/scripts/ofpathname +=================================================================== +--- a/scripts/ofpathname ++++ b/scripts/ofpathname +@@ -459,6 +459,10 @@ logical_to_ofpathname() + hd*) l2of_ide ;; + vd*) l2of_vd ;; + fd*) echo "no fd support yet" ;; ++ mpath*) ++ DEVNAME=$(printf "dm-%d" `stat -c "%T" /dev/mapper/$DEVICE`) ++ logical_to_ofpathname ++ ;; + dm-*) + DEVNAME=`get_slave $DEVICE` + logical_to_ofpathname diff -Nru powerpc-ibm-utils-1.2.26/debian/patches/series powerpc-ibm-utils-1.2.26/debian/patches/series --- powerpc-ibm-utils-1.2.26/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ powerpc-ibm-utils-1.2.26/debian/patches/series 2015-10-20 12:52:33.000000000 +0000 @@ -0,0 +1,1 @@ +mpath_mappings.patch