Fix PPC64 build with memlock file (bz #1387601)

This commit is contained in:
Cole Robinson 2016-10-25 10:18:57 -04:00
parent b8878c0ca6
commit 8a588691e2

View File

@ -68,7 +68,7 @@
Summary: QEMU is a FAST! processor emulator Summary: QEMU is a FAST! processor emulator
Name: qemu Name: qemu
Version: 2.7.0 Version: 2.7.0
Release: 6%{?rcrel}%{?dist} Release: 7%{?rcrel}%{?dist}
Epoch: 2 Epoch: 2
License: GPLv2+ and LGPLv2+ and BSD License: GPLv2+ and LGPLv2+ and BSD
Group: Development/Tools Group: Development/Tools
@ -889,7 +889,7 @@ install -m 0644 %{_sourcedir}/50-kvm-s390x.conf %{buildroot}%{_sysconfdir}/sysct
%ifarch %{power64} %ifarch %{power64}
install -d %{buildroot}%{_sysconfdir}/security/limits.d install -d %{buildroot}%{_sysconfdir}/security/limits.d
install -m 0644 %{_sourcedir}/50-kvm-ppc64-memlock.conf %{buildroot}%{_sysconfdir}/security/limits.d install -m 0644 %{_sourcedir}/95-kvm-ppc64-memlock.conf %{buildroot}%{_sysconfdir}/security/limits.d
%endif %endif
@ -1604,6 +1604,9 @@ getent passwd qemu >/dev/null || \
%changelog %changelog
* Tue Oct 25 2016 Cole Robinson <crobinso@redhat.com> - 2:2.7.0-7
- Fix PPC64 build with memlock file (bz #1387601)
* Wed Oct 19 2016 Bastien Nocera <bnocera@redhat.com> - 2:2.7.0-6 * Wed Oct 19 2016 Bastien Nocera <bnocera@redhat.com> - 2:2.7.0-6
- Add "F" flag to static user emulators' binfmt, to make them - Add "F" flag to static user emulators' binfmt, to make them
available in containers (#1384615) available in containers (#1384615)