diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2022-09-19 08:54:38 +0200 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-09-23 13:15:36 -0700 |
commit | 09a38ed7d7243ffebcb5ce419ec06e7991da96df (patch) | |
tree | 71411f12caa15037f1a42178a0a98a8a10eda260 /sys-fs/zfs | |
parent | sys-libs/glibc: Simplify environment output (diff) | |
download | gentoo-09a38ed7d7243ffebcb5ce419ec06e7991da96df.tar.gz gentoo-09a38ed7d7243ffebcb5ce419ec06e7991da96df.tar.bz2 gentoo-09a38ed7d7243ffebcb5ce419ec06e7991da96df.zip |
sys-fs/zfs: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Portage 3.0.35 / pkgdev 0.2.1 / pkgcheck 0.10.14
Closes: https://github.com/gentoo/gentoo/pull/27350
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs/zfs')
-rw-r--r-- | sys-fs/zfs/files/2.1.5-dracut-non-root.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/sys-fs/zfs/files/2.1.5-dracut-non-root.patch b/sys-fs/zfs/files/2.1.5-dracut-non-root.patch deleted file mode 100644 index 6d1caf92cd2d..000000000000 --- a/sys-fs/zfs/files/2.1.5-dracut-non-root.patch +++ /dev/null @@ -1,33 +0,0 @@ -https://github.com/openzfs/zfs/pull/13589 -https://bugs.gentoo.org/854333 - -From ef9d996669cc2ec596d4e90753b89b32a3f0ce59 Mon Sep 17 00:00:00 2001 -From: "Andrew J. Hesford" <ajh@sideband.org> -Date: Fri, 24 Jun 2022 11:05:53 -0400 -Subject: [PATCH] Dracut module: fix parsing of root= kernel command-line - argument - -Some Dracut modules may read the `root=` kernel command-line argument -and rewrite it; in particular, `rootfs-block` installs a command-line -hook that to canonicalize arguments that specify block devices. If the -`zfs` module is added to an initramfs (which it is, by default, as long -as the core ZFS utilities are available) on a system that does not use a -ZFS root filesystem, the `zfs` module will overwrite the `root` shell -variable with the contents of the kernel command-line in the process of -determining if it should control mounting the root. This breaks the -initramfs. To solve this problem, only parse the kernel command-line -directly if the `root` shell variable is empty; otherwise, rely on the -parsing (and possible rewriting) done by other modules. - -Signed-off-by: Andrew J. Hesford <ajh@sideband.org> ---- a/contrib/dracut/90zfs/zfs-lib.sh.in -+++ b/contrib/dracut/90zfs/zfs-lib.sh.in -@@ -88,7 +88,7 @@ decode_root_args() { - return - fi - -- root=$(getarg root=) -+ [ -n "$root" ] || root=$(getarg root=) - rootfstype=$(getarg rootfstype=) - - # shellcheck disable=SC2249 |