File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,15 @@ def add_kmod_deps(self):
513513 """Adds all kernel modules to the initramfs dependencies.
514514 Always attempt to add firmware, continuing if no_kmod is set.
515515 If they are compressed with a supported extension, they are decompressed before being added.
516+
517+ Adds modprobe to the binaries list if no_kmod is not set.
516518 """
519+ if not self ["no_kmod" ]:
520+ self .logger .debug ("Adding modprobe to binaries list." )
521+ self ["binaries" ] = "modprobe"
522+ else :
523+ self .logger .info ("no_kmod is enabled, skipping adding modprobe to binaries list." )
524+
517525 for kmod in self ["kernel_modules" ]:
518526 if self .get ("kernel_version" ):
519527 _add_kmod_firmware (self , kmod )
Original file line number Diff line number Diff line change 11modules = [ " ugrd.kmod.standard_mask" , " ugrd.kmod.platform" , " ugrd.kmod.input" ]
22
3- binaries = [ " modprobe" ]
4-
53kmod_pull_firmware = true
64kmod_decompress_firmware = true
75
You can’t perform that action at this time.
0 commit comments