From 8745255b8b606391ea672bced0520f223cd29533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Sat, 12 Feb 2022 14:09:33 +0100 Subject: [PATCH] contrib/dracut: parse-zfs: getarg root instead of relying on inherited MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes interaction with dracut embedded cmdline parameters Signed-off-by: Ahelenia ZiemiaƄska Closes #13088 --- contrib/dracut/90zfs/parse-zfs.sh.in | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/dracut/90zfs/parse-zfs.sh.in b/contrib/dracut/90zfs/parse-zfs.sh.in index 724c5e2c6dff..2fa846f500ea 100755 --- a/contrib/dracut/90zfs/parse-zfs.sh.in +++ b/contrib/dracut/90zfs/parse-zfs.sh.in @@ -16,6 +16,7 @@ else fi wait_for_zfs=0 +root="$(getarg root=)" case "${root}" in ""|zfs|zfs:) # We'll take root unset, root=zfs, or root=zfs: