]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
depmodwrapper: Use nonarch_base_libdir for depmod.d
authorSaul Wold <Saul.Wold@windriver.com>
Thu, 31 Mar 2022 22:21:53 +0000 (15:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Apr 2022 09:40:27 +0000 (10:40 +0100)
commitaf3a8c11a0561c9f0a8055d4b1c7703ce56205af
tree5bbfc7031470eaf1b86ef6a386c9c98238e2fc22
parent5e7d09142da82c37aeab22c34d5314187c90bd84
depmodwrapper: Use nonarch_base_libdir for depmod.d

This ensure that when depmod-native runs we can find the correct
exclude.conf information, in this case adding .debug to ignore
the .debug kernell modules. The kmod utilities like depmod can use
either /etc/depmod.d or /lib/depmod.d. The kmod recipe is installing
the existing search.conf to /lib/depmod.d (nonarch_base_lib)

When the busybox modutils are used, /lib/depmod.d is not used, so
it's safe add the exclude.conf file to /lib/depmod.d.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb