Changed files:
systemd.spec -> 1.85
virt-libvirt.patch -> 1.1
Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa
Name: systemd
Version: 38
-Release: 7
+Release: 7.1
License: GPL v2+
Group: Base
Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
Patch0: target-pld.patch
Patch1: config-pld.patch
Patch2: shut-sysv-up.patch
+Patch3: virt-libvirt.patch
URL: http://www.freedesktop.org/wiki/Software/systemd
BuildRequires: acl-devel
%{?with_audit:BuildRequires: audit-libs-devel}
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
cp -p %{SOURCE2} src/systemd_booted.c
%build
--- /dev/null
+--- systemd-38/src/virt.c~ 2011-12-30 22:27:36.454528998 +0100
++++ systemd-38/src/virt.c 2012-01-23 00:41:53.036388492 +0100
+@@ -202,7 +202,10 @@
+ }
+ line[i] = 0;
+
+- if (streq(line, "container=lxc")) {
++ if (streq(line, "container=lxc")
++ || startswith(line, "LIBVIRT_LXC_UUID=")
++ || startswith(line, "LIBVIRT_LXC_NAME=")
++ || startswith(line, "LIBVIRT_LXC_CMDLINE=")) {
+ fclose(f);
+
+ if (id)