[packages/lxc/dev-1.0.0] up to 1.0.0-beta4
glen
glen at pld-linux.org
Thu Feb 13 09:55:07 CET 2014
commit 3f7b319e47e01efad07571a50af71a5437b2862f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Feb 13 10:54:41 2014 +0200
up to 1.0.0-beta4
checkconfig-vserver-config.patch | 8 ++++----
lxc.spec | 5 +++--
2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/lxc.spec b/lxc.spec
index 6a2de21..a7f72d4 100644
--- a/lxc.spec
+++ b/lxc.spec
@@ -10,7 +10,7 @@
%bcond_with selinux # SELinux
%bcond_with cgmanager # Enable cgmanager (BR: libcgmanager, libnih >= 1.0.2, libnih-dbus >= 1.0.0, dbus-1 >= 1.2.16)
-%define subver beta3
+%define subver beta4
%define rel 0.1
Summary: Linux Containers userspace tools
Summary(pl.UTF-8): Narzędzia do kontenerów linuksowych (LXC)
@@ -20,7 +20,7 @@ Release: 0.%{subver}.%{rel}
License: LGPL v2.1+
Group: Applications/System
Source0: https://github.com/lxc/lxc/archive/%{name}-%{version}.%{subver}.tar.gz
-# Source0-md5: b2ea21f87fa79e89990e41557d675d19
+# Source0-md5: 0758a140d451e41801588320b2192fcd
Source1: %{name}-pld.in.sh
Patch1: %{name}-pld.patch
Patch4: checkconfig-vserver-config.patch
@@ -205,6 +205,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/%{name}/config/centos.*.conf
%{_datadir}/%{name}/config/debian.*.conf
%{_datadir}/%{name}/config/fedora.*.conf
+%{_datadir}/%{name}/config/gentoo.*.conf
%{_datadir}/%{name}/config/oracle.*.conf
%{_datadir}/%{name}/config/plamo.*.conf
%{_datadir}/%{name}/config/ubuntu-cloud.*.conf
diff --git a/checkconfig-vserver-config.patch b/checkconfig-vserver-config.patch
index bb18ce3..f2ff97e 100644
--- a/checkconfig-vserver-config.patch
+++ b/checkconfig-vserver-config.patch
@@ -32,12 +32,12 @@ $ zcat /proc/config.gz |grep '^# Linux'
---
---- lxc-0.9.0/src/lxc/lxc-checkconfig.in 2013-09-17 12:00:03.486888314 +0300
-+++ lxc-0.9.0/lxc-checkconfig 2013-09-17 12:47:12.000000000 +0300
-@@ -78,13 +68,13 @@
+--- lxc-lxc-1.0.0.beta4/src/lxc/lxc-checkconfig.in~ 2014-02-07 02:19:28.000000000 +0200
++++ lxc-lxc-1.0.0.beta4/src/lxc/lxc-checkconfig.in 2014-02-13 10:52:02.174867454 +0200
+@@ -78,13 +78,13 @@
}
- CGROUP_MNT_PATH=`print_cgroups cgroup /proc/self/mounts | head -1`
+ CGROUP_MNT_PATH=`print_cgroups cgroup /proc/self/mounts | head -n 1`
-KVER_MAJOR=$($GREP '^# Linux' $CONFIG | \
+KVER_MAJOR=$($GREP '^# Linux.*Kernel Configuration' $CONFIG | \
sed -r 's/.* ([0-9])\.[0-9]{1,2}\.[0-9]{1,3}.*/\1/')
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lxc.git/commitdiff/3f7b319e47e01efad07571a50af71a5437b2862f
More information about the pld-cvs-commit
mailing list