From 9ba6af8d531eb28821b670ca342bbf9e85f3333c Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Tue, 15 Mar 2022 23:17:42 +0100 Subject: [PATCH] spec: run depmod(8) after installing linux-tizen-modules-rpi4-rt MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ieb5ae3a4908ac629090a24414f00b603f237449e Signed-off-by: Łukasz Stelmach --- packaging/linux-tizen-modules.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/linux-tizen-modules.spec b/packaging/linux-tizen-modules.spec index deb9544..5ab144c 100644 --- a/packaging/linux-tizen-modules.spec +++ b/packaging/linux-tizen-modules.spec @@ -175,6 +175,10 @@ RELEASEVERSION=$(basename $(dirname `find /lib/modules -name extra | head -1`)) RELEASEVERSION=$(basename $(dirname `find /lib/modules -name extra | head -1`)) /sbin/depmod -a $RELEASEVERSION +%post rpi4-rt +RELEASEVERSION=$(basename $(dirname `find /lib/modules -name extra | head -1`)) +/sbin/depmod -a $RELEASEVERSION + %ifnarch aarch64 %post tm1 KMOD_PATH_TM1=%{KMOD_PATH_TM1} -- 2.34.1