Skip to content

Commit a96900a

Browse files
poetteringjohannbg
authored andcommitted
fix(dracut-systemd): don't refuse root=tmpfs when systemd is used
A match for systemd PR#18847
1 parent d8e47e2 commit a96900a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules.d/98dracut-systemd/dracut-cmdline.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ case "${root}${root_unset}" in
7070
/dev/*)
7171
root="block:${root}"
7272
rootok=1 ;;
73-
UNSET|gpt-auto)
74-
# systemd's gpt-auto-generator handles this case.
73+
UNSET|gpt-auto|tmpfs)
74+
# systemd's gpt-auto-generator/fstab-generator handles this case.
7575
rootok=1 ;;
7676
esac
7777

0 commit comments

Comments
 (0)