1 %define KMOD_PATH %{_libdir}/stability-monitor/proc-tsm.ko
3 Name: stability-monitor-kmod-rpi3
7 Source0: %{name}-%{version}.tar.xz
8 Source1: %{name}.manifest
9 Summary: Stability monitoring kernel module
10 Group: System/Monitoring
12 BuildRequires: arm-rpi3-linux-kernel-devel
13 Provides: %{KMOD_PATH}
16 This package provides kernel module for stability monitoring daemon.
20 cp %{SOURCE1} ./%{name}.manifest
23 make -C kernel KMOD_PATH=%KMOD_PATH KERNELDIR=/boot/kernel/devel/kernel-devel-arm-rpi3/
26 install -D kernel/proc-tsm.ko %{buildroot}/%KMOD_PATH
29 %manifest %{name}.manifest