[d-kernel] [PATCH 3/4] spec: fix unmets in kernel-image for qcom modules

Anton Midyukov antohami на altlinux.org
Сб Дек 7 21:08:11 MSK 2024


Signed-off-by: Anton Midyukov <antohami на altlinux.org>
---
 kernel-image.spec | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/kernel-image.spec b/kernel-image.spec
index e3ecf0500fc9..69a48046c3b0 100644
--- a/kernel-image.spec
+++ b/kernel-image.spec
@@ -537,6 +537,13 @@ check-pesign-helper
 %exclude %modules_dir/kernel/drivers/gpu/
 %exclude %modules_dir/kernel/drivers/usb/typec/altmodes/typec_displayport.ko*
 %exclude %modules_dir/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko*
+%ifarch aarch64
+%exclude %modules_dir/kernel/drivers/phy/qualcomm/phy-qcom-qmp-combo.ko*
+%exclude %modules_dir/kernel/drivers/soc/qcom/pmic_glink_altmode.ko*
+%exclude %modules_dir/kernel/drivers/usb/typec/tcpm/qcom/qcom_pmic_tcpm.ko*
+%exclude %modules_dir/kernel/drivers/leds/flash/leds-qcom-flash.ko*
+%exclude %modules_dir/kernel/drivers/leds/flash/leds-qcom-flash.ko*
+%endif
 %ifarch armh aarch64
 # usb_f_uvc now depends on drm causing "kernel image shouldn't require
 # kernel modules" "sisyphus_check: check-kernel ERROR: kernel package.
@@ -569,6 +576,13 @@ check-pesign-helper
 %modules_dir/kernel/drivers/media/
 %modules_dir/kernel/drivers/usb/typec/altmodes/typec_displayport.ko*
 %modules_dir/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko*
+%ifarch aarch64
+%modules_dir/kernel/drivers/phy/qualcomm/phy-qcom-qmp-combo.ko*
+%modules_dir/kernel/drivers/soc/qcom/pmic_glink_altmode.ko*
+%modules_dir/kernel/drivers/usb/typec/tcpm/qcom/qcom_pmic_tcpm.ko*
+%modules_dir/kernel/drivers/leds/flash/leds-qcom-flash.ko*
+%modules_dir/kernel/drivers/leds/flash/leds-qcom-flash.ko*
+%endif
 %ifarch armh aarch64
 %modules_dir/kernel/drivers/usb/gadget/function/usb_f_uvc.ko*
 %endif
-- 
2.42.2



Подробная информация о списке рассылки devel-kernel