dracut/install
Daniel Molkentin ee9b9b1241 dracut-install: fix edge-case regression with weak modules
This was introduced with 6dafdda4a6, but
is actually caused by the fact that modules that have already been
installed cause dracut_install() to return without adding the module
to the hashmap. This can happen if an earlier-run dracut module chose
to install the same module. Now modprobe statements like:

softdep usb_storage post: uas
softdep uas pre: usb_storage

(which look weird, but are perfectly valid), cause
dracut_install() to enter an infinite recursion if and only if
at least one of the files has previously been installed by another
module.

Fix this by also adding already installed modules to the hashmap.
2020-10-02 15:49:09 +02:00
..
.kateconfig add kate and emacs per directory config files 2014-08-29 13:38:47 +02:00
Makefile move dracut-install to dracutbasedir 2012-07-02 18:52:49 +02:00
dracut-install.c dracut-install: fix edge-case regression with weak modules 2020-10-02 15:49:09 +02:00
hashmap.c Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
hashmap.h Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
hashmap.lo install/*: add dracut-install tool 2012-06-29 12:54:38 +02:00
log.c Allow running on a cross-compiled rootfs 2019-10-25 11:58:58 +02:00
log.h remove all vim and emacs code format comments 2014-08-29 13:38:47 +02:00
macro.h remove all vim and emacs code format comments 2014-08-29 13:38:47 +02:00
strv.c remove all vim and emacs code format comments 2014-08-29 13:38:47 +02:00
strv.h remove all vim and emacs code format comments 2014-08-29 13:38:47 +02:00
util.c remove all vim and emacs code format comments 2014-08-29 13:38:47 +02:00
util.h install: avoid non-portable __WORDSIZE 2018-09-10 09:45:22 +02:00