summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2022-09-19 14:20:57 +0200
committerKarol Lewandowski <k.lewandowsk@samsung.com>2022-09-19 14:20:57 +0200
commitb20d22479736e88cf7ebd3eddc82adc6209dd63e (patch)
treec0f4ef4ab5ffae4b5e2bfc9e3cac38a38e2084d5
parent719977877fda2a4c992cf4f35055677a86ea27de (diff)
downloadlinux-tizen-modules-b20d22479736e88cf7ebd3eddc82adc6209dd63e.tar.gz
linux-tizen-modules-b20d22479736e88cf7ebd3eddc82adc6209dd63e.tar.bz2
linux-tizen-modules-b20d22479736e88cf7ebd3eddc82adc6209dd63e.zip
Explicitly list shipped modules
Using wildcard in file list gives us no guarantee that modules did build correctly. Switch to explicit file list to ensure that needed modules are shipped. Change-Id: I21ee18f803c9ec50c09941d08013b5abc5b72d4e
-rw-r--r--packaging/linux-tizen-modules.spec31
1 files changed, 24 insertions, 7 deletions
diff --git a/packaging/linux-tizen-modules.spec b/packaging/linux-tizen-modules.spec
index b3ce638..261e59a 100644
--- a/packaging/linux-tizen-modules.spec
+++ b/packaging/linux-tizen-modules.spec
@@ -191,7 +191,9 @@ RELEASEVERSION=$(basename $(dirname `find $KMOD_PATH_TM1 -name extra | head -1`)
%files rpi3
%manifest %{name}.manifest
%license COPYING
-%{KMOD_PATH}/*rpi3*/extra
+%{KMOD_PATH}/*rpi3*/extra/proc-tsm.ko
+%{KMOD_PATH}/*rpi3*/extra/logger.ko
+%{KMOD_PATH}/*rpi3*/extra/zlogger/zlogger.ko
%{KMOD_PATH}/modprobe.d/tizen-modprobe-rpi3.conf
%{KMOD_PATH}/modules-load.d/tizen-modules-rpi3.conf
@@ -199,9 +201,15 @@ RELEASEVERSION=$(basename $(dirname `find $KMOD_PATH_TM1 -name extra | head -1`)
%manifest %{name}.manifest
%license COPYING
%ifarch aarch64
-%{KMOD_PATH}/*rpi4-v8/extra
+%{KMOD_PATH}/*rpi4-v8/extra/proc-tsm.ko
+%{KMOD_PATH}/*rpi4-v8/extra/kdbus/kdbus.ko
+%{KMOD_PATH}/*rpi4-v8/extra/logger.ko
+%{KMOD_PATH}/*rpi4-v8/extra/zlogger/zlogger.ko
%else
-%{KMOD_PATH}/*rpi4-v7l/extra
+%{KMOD_PATH}/*rpi4-v7l/extra/proc-tsm.ko
+%{KMOD_PATH}/*rpi4-v7l/extra/kdbus/kdbus.ko
+%{KMOD_PATH}/*rpi4-v7l/extra/logger.ko
+%{KMOD_PATH}/*rpi4-v7l/extra/zlogger/zlogger.ko
%endif
%{KMOD_PATH}/modprobe.d/tizen-modprobe-rpi4.conf
%{KMOD_PATH}/modules-load.d/tizen-modules-rpi4.conf
@@ -210,9 +218,15 @@ RELEASEVERSION=$(basename $(dirname `find $KMOD_PATH_TM1 -name extra | head -1`)
%manifest %{name}.manifest
%license COPYING
%ifarch aarch64
-%{KMOD_PATH}/*rpi4-rt-v8/extra
+%{KMOD_PATH}/*rpi4-rt-v8/extra/proc-tsm.ko
+%{KMOD_PATH}/*rpi4-rt-v8/extra/kdbus/kdbus.ko
+%{KMOD_PATH}/*rpi4-rt-v8/extra/logger.ko
+%{KMOD_PATH}/*rpi4-rt-v8/extra/zlogger/zlogger.ko
%else
-%{KMOD_PATH}/*rpi4-rt-v7l/extra
+%{KMOD_PATH}/*rpi4-rt-v7l/extra/proc-tsm.ko
+%{KMOD_PATH}/*rpi4-rt-v7l/extra/kdbus/kdbus.ko
+%{KMOD_PATH}/*rpi4-rt-v7l/extra/logger.ko
+%{KMOD_PATH}/*rpi4-rt-v7l/extra/zlogger/zlogger.ko
%endif
%{KMOD_PATH}/modprobe.d/tizen-modprobe-rpi4.conf
%{KMOD_PATH}/modules-load.d/tizen-modules-rpi4.conf
@@ -221,7 +235,9 @@ RELEASEVERSION=$(basename $(dirname `find $KMOD_PATH_TM1 -name extra | head -1`)
%files tw3
%manifest %{name}.manifest
%license COPYING
-/aarch64/modules/4.9.59/extra
+/aarch64/modules/4.9.59/extra/proc-tsm.ko
+/aarch64/modules/4.9.59/extra/logger.ko
+/aarch64/modules/4.9.59/extra/logger/zlogger.ko
/aarch64/modules/modprobe.d/tizen-modprobe-tw3.conf
/aarch64/modules/modules-load.d/tizen-modules-tw3.conf
%endif
@@ -230,6 +246,7 @@ RELEASEVERSION=$(basename $(dirname `find $KMOD_PATH_TM1 -name extra | head -1`)
%files tm1
%manifest %{name}.manifest
%license COPYING
-%{KMOD_PATH_TM1}/*3.10*/extra
+%{KMOD_PATH_TM1}/*3.10*/extra/logger.ko
+%{KMOD_PATH_TM1}/*3.10*/extra/zlogger/zlogger.ko
%{KMOD_PATH_TM1}/modules-load.d/tizen-modules-tm1.conf
%endif