Skip to content

Commit

Permalink
contrib/dracut: parse-zfs: getarg root instead of relying on inherited
Browse files Browse the repository at this point in the history
This fixes interaction with dracut embedded cmdline parameters

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13088
  • Loading branch information
nabijaczleweli committed Feb 12, 2022
1 parent 0cb127d commit 8745255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/dracut/90zfs/parse-zfs.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8745255

Please sign in to comment.