diff -Nru grub2-2.02~beta2/debian/changelog grub2-2.02~beta2/debian/changelog --- grub2-2.02~beta2/debian/changelog 2016-02-05 09:41:06.000000000 -0600 +++ grub2-2.02~beta2/debian/changelog 2016-02-26 00:00:10.000000000 -0600 @@ -1,3 +1,10 @@ +grub2 (2.02~beta2-37~1) xenial; urgency=medium + + * Add debian/patches/zfs-zpool-status-vdev-path.patch to get full paths for + vdevs (LP: #1527727) + + -- Richard Laager Thu, 25 Feb 2016 23:20:48 -0600 + grub2 (2.02~beta2-36) unstable; urgency=medium [ Colin Watson ] diff -Nru grub2-2.02~beta2/debian/patches/series grub2-2.02~beta2/debian/patches/series --- grub2-2.02~beta2/debian/patches/series 2016-01-22 05:00:23.000000000 -0600 +++ grub2-2.02~beta2/debian/patches/series 2016-02-25 23:59:31.000000000 -0600 @@ -97,3 +97,4 @@ zfs-zap-lookup-truncation.patch zfs-extensible-dataset-large-blocks.patch 0099-Work-around-unsupported-relocations-on-arm64.patch +zfs-zpool-status-vdev-path.patch diff -Nru grub2-2.02~beta2/debian/patches/zfs-zpool-status-vdev-path.patch grub2-2.02~beta2/debian/patches/zfs-zpool-status-vdev-path.patch --- grub2-2.02~beta2/debian/patches/zfs-zpool-status-vdev-path.patch 1969-12-31 18:00:00.000000000 -0600 +++ grub2-2.02~beta2/debian/patches/zfs-zpool-status-vdev-path.patch 2016-02-26 00:32:39.000000000 -0600 @@ -0,0 +1,12 @@ +Index: grub2-2.02~beta2/grub-core/osdep/unix/getroot.c +=================================================================== +--- grub2-2.02~beta2.orig/grub-core/osdep/unix/getroot.c 2016-02-26 00:32:09.575578175 -0600 ++++ grub2-2.02~beta2/grub-core/osdep/unix/getroot.c 2016-02-26 00:32:36.191755074 -0600 +@@ -238,6 +238,7 @@ grub_util_find_root_devices_from_poolnam + pid_t pid; + int fd; + ++ setenv("ZPOOL_VDEV_NAME_PATH", "YES", 1); + argv[0] = "zpool"; + argv[1] = "status"; + argv[2] = poolname;