From: Jan Stancek <jstancek@xxxxxxxxxx> redhat/filter-modules.sh.rhel: add needed deps for intel_rapl_tpmi intel_rapl_tpmi stays in -core, but depends on tpmi, which is in drivers/platform (and moved by filter-modules to -modules). This leads to depmod warnings: 00:20:34 depmod: WARNING: /tmp/rpmbuild/BUILDROOT/kernel-6.5.0-0.rc0.6aeadf7896bf.2.test.eln.x86_64/./lib/modules/6.5.0-0.rc0.6aeadf7896bf.2.test.eln.x86_64/kernel/drivers/powercap/intel_rapl_tpmi.ko needs unknown symbol tpmi_get_resource_count 00:20:34 depmod: WARNING: /tmp/rpmbuild/BUILDROOT/kernel-6.5.0-0.rc0.6aeadf7896bf.2.test.eln.x86_64/./lib/modules/6.5.0-0.rc0.6aeadf7896bf.2.test.eln.x86_64/kernel/drivers/powercap/intel_rapl_tpmi.ko needs unknown symbol tpmi_get_platform_data 00:20:34 depmod: WARNING: /tmp/rpmbuild/BUILDROOT/kernel-6.5.0-0.rc0.6aeadf7896bf.2.test.eln.x86_64/./lib/modules/6.5.0-0.rc0.6aeadf7896bf.2.test.eln.x86_64/kernel/drivers/powercap/intel_rapl_tpmi.ko needs unknown symbol tpmi_get_resource_at_index To fix that, add needed dependencies to override list, so that they stay in -core as well. Signed-off-by: Jan Stancek <jstancek@xxxxxxxxxx> diff --git a/redhat/rhel_files/filter-modules.sh.rhel b/redhat/rhel_files/filter-modules.sh.rhel index blahblah..blahblah 100755 --- a/redhat/rhel_files/filter-modules.sh.rhel +++ b/redhat/rhel_files/filter-modules.sh.rhel @@ -14,7 +14,7 @@ # listed here. # Overrides is individual modules which need to remain in kernel-core due to deps. -overrides="cec" +overrides="cec isst_if_common isst_tpmi_core isst_tpmi intel_vsec intel_vsec_tpmi" # Set the default dirs/modules to filter out driverdirs="atm auxdisplay bcma bluetooth firewire fmc iio infiniband isdn leds media memstick mfd mmc mtd nfc ntb pcmcia platform power ssb staging tty uio uwb w1" -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2551 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue