Skip to content

Commit 4c346ca

Browse files
committed
dracut: set root to satisfy internal checks
Dracut requires root to be set, even if we never use it. Set it to a no-op value. Closes #516
1 parent 60128db commit 4c346ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zfsbootmenu/pre-init/zfsbootmenu-parse-commandline.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,8 @@ esac
248248

249249
# shellcheck disable=SC2034
250250
rootok=1
251+
252+
# Dracut requires root to be defined
253+
# shellcheck disable=SC2034
254+
root=zfsbootmenu
251255
ln -s /dev/null /dev/root 2>/dev/null

0 commit comments

Comments
 (0)