From: Łukasz Stelmach Date: Tue, 15 Mar 2022 22:17:42 +0000 (+0100) Subject: spec: run depmod(8) after installing linux-tizen-modules-rpi4-rt X-Git-Tag: submit/tizen/20220321.130904^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ba6af8d531eb28821b670ca342bbf9e85f3333c;p=platform%2Fkernel%2Flinux-tizen-modules.git spec: run depmod(8) after installing linux-tizen-modules-rpi4-rt Change-Id: Ieb5ae3a4908ac629090a24414f00b603f237449e Signed-off-by: Łukasz Stelmach --- 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}