summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Majewski <m.majewski2@samsung.com>2021-12-10 11:12:35 +0100
committerMateusz Majewski <m.majewski2@samsung.com>2021-12-10 11:25:05 +0100
commited4216a33b47dbcbcf145958109ed568ba39b3a7 (patch)
tree4f9f68aaf9b4661b1030c8492f636f6ba720230c
parent830560e874266375e6e096d6a9a8bdca810c65e4 (diff)
downloadlinux-tizen-modules-ed4216a33b47dbcbcf145958109ed568ba39b3a7.tar.gz
linux-tizen-modules-ed4216a33b47dbcbcf145958109ed568ba39b3a7.tar.bz2
linux-tizen-modules-ed4216a33b47dbcbcf145958109ed568ba39b3a7.zip
[WIP] Package for TM1sandbox/mmajewski2/logger-tm1
Change-Id: If34995e0d596746b61ff23c73f6cb15b755fc679
-rw-r--r--conf/tizen-modules-tm1.conf1
-rw-r--r--packaging/linux-tizen-modules.spec13
2 files changed, 5 insertions, 9 deletions
diff --git a/conf/tizen-modules-tm1.conf b/conf/tizen-modules-tm1.conf
new file mode 100644
index 0000000..7c82fcf
--- /dev/null
+++ b/conf/tizen-modules-tm1.conf
@@ -0,0 +1 @@
+logger
diff --git a/packaging/linux-tizen-modules.spec b/packaging/linux-tizen-modules.spec
index 48a83ee..37112df 100644
--- a/packaging/linux-tizen-modules.spec
+++ b/packaging/linux-tizen-modules.spec
@@ -126,11 +126,8 @@ install -m 644 conf/tizen-modprobe-tw3.conf %{buildroot}/aarch64/modules/modprob
mkdir -p %{buildroot}/aarch64/modules/modules-load.d
install -m 644 conf/tizen-modules-tw3.conf %{buildroot}/aarch64/modules/modules-load.d
%else
-mkdir -p %{buildroot}/%{KMOD_PATH}/modules/modprobe.d
-#install -m 644 conf/tizen-modprobe-tm1.conf %{buildroot}/%{KMOD_PATH}/modules/modprobe.d TODO
-
mkdir -p %{buildroot}/%{KMOD_PATH}/modules/modules-load.d
-#install -m 644 conf/tizen-modules-tm1.conf %{buildroot}/%{KMOD_PATH}/modules/modules-load.d
+install -m 644 conf/tizen-modules-tm1.conf %{buildroot}/%{KMOD_PATH}/modules-load.d
%endif
%clean
@@ -147,9 +144,8 @@ RELEASEVERSION=$(basename $(dirname `find /lib/modules -name extra | head -1`))
%ifarch armv7l
%post tm1
-#RELEASEVERSION=$(basename $(dirname `find /lib/modules -name extra | head -1`))
-#/sbin/depmod -a $RELEASEVERSION
-/sbin/depmod -a "3.10.65"
+RELEASEVERSION=$(basename $(dirname `find /lib/modules -name extra | head -1`))
+/sbin/depmod -a $RELEASEVERSION
%endif
%files rpi3
@@ -178,6 +174,5 @@ RELEASEVERSION=$(basename $(dirname `find /lib/modules -name extra | head -1`))
%manifest %{name}.manifest
%license COPYING
%{KMOD_PATH}/3.10.65/extra
-#%{KMOD_PATH}/modprobe.d/tizen-modprobe-tm1.conf
-#%{KMOD_PATH}/modules-load.d/tizen-modules-tm1.conf
+%{KMOD_PATH}/modules-load.d/tizen-modules-tm1.conf
%endif