mirror of
https://git.proxmox.com/git/grub2
synced 2025-11-02 22:39:09 +00:00
Repack upstream tarball without grub-core/lib/libgcrypt*/cipher/crc.c, and provide a replacement implementation backported from more recent versions of libgcrypt. Closes: #745409
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 06fd6cde689d6f753fece3c1e562a212c3a4b143 Mon Sep 17 00:00:00 2001
|
|
From: Chad MILLER <chad.miller@canonical.com>
|
|
Date: Thu, 27 Oct 2016 17:15:07 -0400
|
|
Subject: Tell zpool to emit full device names
|
|
|
|
zfs-initramfs currently provides extraneous, undesired symlinks to
|
|
devices directly underneath /dev/ to satisfy zpool's historical output
|
|
of unqualified device names. By including this environment variable to
|
|
signal our intent to zpool, zfs-linux packages can drop the symlink
|
|
behavior when updating to its upstream or backported output behavior.
|
|
|
|
Bug: https://savannah.gnu.org/bugs/?43653
|
|
Bug-Debian: https://bugs.debian.org/824974
|
|
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1527727
|
|
Last-Update: 2016-11-01
|
|
|
|
Patch-Name: zpool_full_device_name.patch
|
|
---
|
|
grub-core/osdep/unix/getroot.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/grub-core/osdep/unix/getroot.c b/grub-core/osdep/unix/getroot.c
|
|
index 4bf37b027..d5fde7f86 100644
|
|
--- a/grub-core/osdep/unix/getroot.c
|
|
+++ b/grub-core/osdep/unix/getroot.c
|
|
@@ -240,6 +240,7 @@ grub_util_find_root_devices_from_poolname (char *poolname)
|
|
argv[2] = poolname;
|
|
argv[3] = NULL;
|
|
|
|
+ setenv ("ZPOOL_VDEV_NAME_PATH", "YES", 1);
|
|
pid = grub_util_exec_pipe (argv, &fd);
|
|
if (!pid)
|
|
return NULL;
|