We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85149b8 commit c73e7b9Copy full SHA for c73e7b9
modules.d/95virtiofs/module-setup.sh
@@ -16,7 +16,7 @@ check() {
16
17
# called by dracut
18
depends() {
19
- return 0
+ echo base
20
}
21
22
modules.d/95virtiofs/mount-virtiofs.sh
@@ -1,5 +1,7 @@
1
#!/usr/bin/sh
2
3
+type ismounted > /dev/null 2>&1 || . /lib/dracut-lib.sh
4
+
5
if [ "${fstype}" = "virtiofs" -o "${root%%:*}" = "virtiofs" ]; then
6
if ! { modprobe virtiofs || strstr "$(cat /proc/filesystems)" virtiofs; }; then
7
die "virtiofs is required but not available."
0 commit comments