!65 sync patch
From: @liuxu180400617 Reviewed-by: @xuxuepeng Signed-off-by: @xuxuepeng
This commit is contained in:
commit
0176261ec6
13
config.patch
Normal file
13
config.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- libcgroup-2.0.3/samples/cgconfig.sysconfig.orig 2019-12-19 11:25:25.547000000 +0800
|
||||||
|
+++ libcgroup-2.0.3/samples/cgconfig.sysconfig 2019-12-19 11:26:01.142000000 +0800
|
||||||
|
@@ -5,8 +5,5 @@
|
||||||
|
# controller to limit cpu.shares of this default group and allowing some more
|
||||||
|
# important group take most of the CPU.
|
||||||
|
#
|
||||||
|
-# By default, create these groups:
|
||||||
|
-CREATE_DEFAULT=yes
|
||||||
|
-
|
||||||
|
-# Uncomment following line to disable creation of the default group on startup:
|
||||||
|
-# CREATE_DEFAULT=no
|
||||||
|
+# By default, do not create these groups:
|
||||||
|
+CREATE_DEFAULT=no
|
||||||
@ -5,7 +5,7 @@
|
|||||||
Summary: Libcgroup is a library that abstracts the control group file system in Linux
|
Summary: Libcgroup is a library that abstracts the control group file system in Linux
|
||||||
Name: libcgroup
|
Name: libcgroup
|
||||||
Version: 2.0.3
|
Version: 2.0.3
|
||||||
Release: 3
|
Release: 4
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://libcg.sourceforge.net/
|
URL: http://libcg.sourceforge.net/
|
||||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
@ -13,7 +13,8 @@ Source1: cgconfig.service
|
|||||||
Provides: libcgroup-pam libcgroup-tools
|
Provides: libcgroup-pam libcgroup-tools
|
||||||
Obsoletes: libcgroup-pam libcgroup-tools
|
Obsoletes: libcgroup-pam libcgroup-tools
|
||||||
|
|
||||||
Patch0: Add-support-for-multiple-controllers-on-same-mount-point.patch
|
Patch0: config.patch
|
||||||
|
Patch1: Add-support-for-multiple-controllers-on-same-mount-point.patch
|
||||||
|
|
||||||
BuildRequires: autoconf, automake, libtool
|
BuildRequires: autoconf, automake, libtool
|
||||||
BuildRequires: gcc,gcc-c++,byacc
|
BuildRequires: gcc,gcc-c++,byacc
|
||||||
@ -42,6 +43,7 @@ It provides helpful information for libcgroup-pam,libcgroup-devel,libcgroup-tool
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
@ -130,6 +132,12 @@ getent group cgred >/dev/null || groupadd -r cgred
|
|||||||
%attr(0644, root, root) %{_mandir}/man8/*
|
%attr(0644, root, root) %{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 09 2024 liuxu <liuxu156@huawei.com> - 2.0.3-4
|
||||||
|
- Type: bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:sync patch
|
||||||
|
|
||||||
* Tue Nov 26 2024 lipengyu <lipengyu@kylinos.cn> - 2.0.3-3
|
* Tue Nov 26 2024 lipengyu <lipengyu@kylinos.cn> - 2.0.3-3
|
||||||
- Type: bugfix
|
- Type: bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user