diff -Nru --exclude .pc initramfs-tools-0.120ubuntu6/debian/changelog initramfs-tools-0.120ubuntu7/debian/changelog --- initramfs-tools-0.120ubuntu6/debian/changelog 2015-10-01 18:53:10.000000000 +0200 +++ initramfs-tools-0.120ubuntu7/debian/changelog 2016-01-08 14:07:39.000000000 +0100 @@ -1,3 +1,10 @@ +initramfs-tools (0.120ubuntu7) xenial; urgency=medium + + * Add support for NVME devices when MODULES=dep is used + (LP: #1532146) + + -- Louis Bouchard Fri, 08 Jan 2016 14:07:14 +0100 + initramfs-tools (0.120ubuntu6) wily; urgency=medium * add squashfs to list of 'most' modules (LP: #1501834) diff -Nru --exclude .pc initramfs-tools-0.120ubuntu6/debian/patches/0001-add-nvme-support.patch initramfs-tools-0.120ubuntu7/debian/patches/0001-add-nvme-support.patch --- initramfs-tools-0.120ubuntu6/debian/patches/0001-add-nvme-support.patch 1970-01-01 01:00:00.000000000 +0100 +++ initramfs-tools-0.120ubuntu7/debian/patches/0001-add-nvme-support.patch 2016-01-08 11:31:23.000000000 +0100 @@ -0,0 +1,15 @@ +Index: initramfs-tools-0.120ubuntu6/hook-functions +=================================================================== +--- initramfs-tools-0.120ubuntu6.orig/hook-functions 2015-10-01 18:51:55.000000000 +0200 ++++ initramfs-tools-0.120ubuntu6/hook-functions 2016-01-08 11:31:19.795033762 +0100 +@@ -470,6 +470,10 @@ + block=${dev_node#/dev/i2o/} + block=${block%%[0-9]*} + block='i2o!'$block ++ # nvme device ++ elif [ "${root#/dev/nvme}" != "${root}" ]; then ++ block=${root#/dev/} ++ block="${block%%p[0-9]*}" + # classical block device + else + block=${dev_node#/dev/} diff -Nru --exclude .pc initramfs-tools-0.120ubuntu6/debian/patches/series initramfs-tools-0.120ubuntu7/debian/patches/series --- initramfs-tools-0.120ubuntu6/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ initramfs-tools-0.120ubuntu7/debian/patches/series 2016-01-08 11:29:46.000000000 +0100 @@ -0,0 +1 @@ +0001-add-nvme-support.patch