Skip to content

Commit 85afa2b

Browse files
committed
dracut: do not install dracut module in non-hostonly by default
In non-hostonly (generic) dracut invocation, only add rdma dracut module to the generated initramfs if it is explicitly requested. Signed-off-by: Jo Zzsi <jozzsicsataban@gmail.com>
1 parent c3d6991 commit 85afa2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel-boot/dracut/50rdma/module-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
check() {
44
[ -n "$hostonly" ] && [ -e /sys/class/infiniband_verbs/uverbs0 ] && return 0
55
[ -n "$hostonly" ] && return 255
6-
return 0
6+
return 255
77
}
88

99
depends() {

0 commit comments

Comments
 (0)