cgsnapshot is not much useful without a blacklist file, so let's distribute
the sample we provide.

Signed-off-by: Jan Safranek <[email protected]>
---

 dist/libcgroup.spec.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dist/libcgroup.spec.in b/dist/libcgroup.spec.in
index 16206d1..2418751 100644
--- a/dist/libcgroup.spec.in
+++ b/dist/libcgroup.spec.in
@@ -59,6 +59,7 @@ cp samples/cgred.conf 
$RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgred.conf
 cp samples/cgconfig.sysconfig $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgconfig
 cp samples/cgconfig.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgconfig.conf
 cp samples/cgrules.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgrules.conf
+cp samples/cgsnapshot_blacklist.conf 
$RPM_BUILD_ROOT/%{_sysconfdir}/cgsnapshot_blacklist.conf
 
 # sanitize pam module, we need only pam_cgroup.so
 mv -f $RPM_BUILD_ROOT/%{_lib}/security/pam_cgroup.so.*.*.* 
$RPM_BUILD_ROOT/%{_lib}/security/pam_cgroup.so
@@ -95,6 +96,7 @@ fi
 %config(noreplace) %{_sysconfdir}/sysconfig/cgconfig
 %config(noreplace) %{_sysconfdir}/cgconfig.conf
 %config(noreplace) %{_sysconfdir}/cgrules.conf
+%config(noreplace) %{_sysconfdir}/cgsnapshot_blacklist.conf
 /%{_lib}/libcgroup.so.*
 /bin/cgexec
 /bin/cgclassify


------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to