git://git.onelab.eu
/
procprotect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.planet-lab.org/git/procprotect
[procprotect.git]
/
procprotect.spec
diff --git
a/procprotect.spec
b/procprotect.spec
index
3ab687b
..
44e30e0
100644
(file)
--- a/
procprotect.spec
+++ b/
procprotect.spec
@@
-1,6
+1,6
@@
%define name procprotect
%define version 0.1
%define name procprotect
%define version 0.1
-%define taglevel
1
+%define taglevel
2
### legacy from locally-built kernels, used to define these
# kernel_release : 1.fc16 (24 is then the planetlab taglevel)
### legacy from locally-built kernels, used to define these
# kernel_release : 1.fc16 (24 is then the planetlab taglevel)
@@
-50,15
+50,22
@@
make -C %{kernelpath} V=1 M=$(pwd) modules
%install
install -D -m 755 procprotect.ko $RPM_BUILD_ROOT/lib/modules/%{kernel_id}/kernel/net/procprotect/procprotect.ko
%install
install -D -m 755 procprotect.ko $RPM_BUILD_ROOT/lib/modules/%{kernel_id}/kernel/net/procprotect/procprotect.ko
+mkdir -p $RPM_BUILD_ROOT/etc/modules-load.d
+install -m 644 procprotect.conf $RPM_BUILD_ROOT/etc/modules-load.d/procprotect.conf
%clean
rm -rf $RPM_BUILD_ROOT
%files
/lib/modules/%{kernel_id}
%clean
rm -rf $RPM_BUILD_ROOT
%files
/lib/modules/%{kernel_id}
+/etc/modules-load.d/procprotect.conf
%post
%post
+/sbin/depmod -a
%postun
%changelog
%postun
%changelog
+* Mon Jul 09 2012 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - procprotect-0.1-2
+- module to get loaded at boot-time
+