]> git.ipfire.org Git - thirdparty/dracut.git/commit
feat(dracut-install): add fw_devlink suppliers as module dependencies
authorAdrien Thierry <athierry@redhat.com>
Mon, 5 Dec 2022 21:28:17 +0000 (16:28 -0500)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 13 Feb 2023 13:29:12 +0000 (13:29 +0000)
commit3de4c7313260fb600507c9b87f780390b874c870
tree04758840ddc8a216964f3f9e8433dd1e7351a2b9
parentf0c3b683270dbce933ef3d2f89d99dea7314ebf6
feat(dracut-install): add fw_devlink suppliers as module dependencies

Dracut currently finds kernel module dependencies using two methods:
depmod and softdeps. However, these are often insufficient on embedded
systems where a lot of driver dependencies are only described in the
device tree. This is often the case for low-level devices such as
clocks, regulators, pinctrls, etc.

This patch allows dracut to find those device tree dependencies, by
parsing the sysfs supplier nodes populated by fw_devlink.

Signed-off-by: Adrien Thierry <athierry@redhat.com>
src/install/dracut-install.c