|
From: SourceForge.net <no...@so...> - 2010-03-09 16:14:54
|
Bugs item #2962114, was opened at 2010-03-02 14:10 Message generated for change (Comment added) made by deksai You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1043649&aid=2962114&group_id=218421 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Chris (deksai) Assigned to: Nobody/Anonymous (nobody) Summary: rpm spec file misses the sysconfig/cgconfig file Initial Comment: The /etc/sysconfig/cgconfig file is never installed with the current RPM spec file. This fixes it for me: diff --git a/dist/libcgroup.spec.in b/dist/libcgroup.spec.in index 27ab880..7cab82f 100644 --- a/dist/libcgroup.spec.in +++ b/dist/libcgroup.spec.in @@ -55,6 +55,7 @@ make DESTDIR=$RPM_BUILD_ROOT install # install config files mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig 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 @@ -90,6 +91,7 @@ fi %files %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/sysconfig/cgred.conf +%config(noreplace) %{_sysconfdir}/sysconfig/cgconfig %config(noreplace) %{_sysconfdir}/cgconfig.conf %config(noreplace) %{_sysconfdir}/cgrules.conf /%{_lib}/libcgroup.so.* ---------------------------------------------------------------------- >Comment By: Chris (deksai) Date: 2010-03-09 11:14 Message: Sent it to the list. ---------------------------------------------------------------------- Comment By: Dhaval Giani (dhaval_giani) Date: 2010-03-08 08:23 Message: Hi Chris, Would you mind opsting this patch to the mailing list at lib...@li... ? Please note, it is a subscribers only list, so you will need to subscribe to the list before posting there. Thanks Dhaval ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1043649&aid=2962114&group_id=218421 |