diff --git a/SOURCES/weak-modules b/SOURCES/weak-modules
index 7fbfe08..2b16275 100644
--- a/SOURCES/weak-modules
+++ b/SOURCES/weak-modules
@@ -1148,7 +1148,7 @@ while :; do
     shift
 done
 
-if [ ! -x "$dracut" ]
+if [ ! -x "$dracut" ] && [ -z "$no_initramfs" ]
 then
     echo "weak-modules: could not find dracut at $dracut"
     exit 1
diff --git a/SPECS/kmod.spec b/SPECS/kmod.spec
index f12835b..bd95501 100644
--- a/SPECS/kmod.spec
+++ b/SPECS/kmod.spec
@@ -1,6 +1,6 @@
 Name:		kmod
 Version:	25
-Release:	17%{?dist}
+Release:	18%{?dist}
 Summary:	Linux kernel module management utilities
 
 Group:		System Environment/Kernel
@@ -125,6 +125,10 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf
 %{_libdir}/libkmod.so
 
 %changelog
+* Fri Apr 16 2021 Yauheni Kaliuta <ykaliuta@redhat.com> - 25-18
+- weak-modules: do not require dracut wneh using --no-initramfs
+  Resolves: rhbz#1935416
+
 * Fri Dec 18 2020 Yauheni Kaliuta <ykaliuta@redhat.com> - 25-17
 - weak-modules: reset compatible_modules if configuration is not valid
   Resolves: rhbz#1907855
@@ -280,7 +284,7 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf
 - Update to version 13
 
 * Wed Mar 20 2013 Weiping Pan <wpan@redhat.com> - 12-3
-- Pull in weak-modules for kABI from Jon Masters <jcm@redhat.com> 
+- Pull in weak-modules for kABI from Jon Masters <jcm@redhat.com>
 
 * Mon Mar 18 2013 Josh Boyer <jwboyer@redhat.com>
 - Add patch to make rmmod understand built-in modules (rhbz 922187)