summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2017-08-22 14:47:00 +0100
committerPeter Robinson <pbrobinson@gmail.com>2017-08-22 14:47:00 +0100
commiteb93a3ce59422165822f28eae402ae9b5fd10a34 (patch)
tree3777b62f2b110387f2fe8f25dc064100bee19ca2
parent778a4470eb3f6f9428c8126c7a0ed1c374e45d5c (diff)
downloadkernel-eb93a3ce59422165822f28eae402ae9b5fd10a34.tar.gz
kernel-eb93a3ce59422165822f28eae402ae9b5fd10a34.tar.xz
kernel-eb93a3ce59422165822f28eae402ae9b5fd10a34.zip
Force python3 for kvm_stat because we can't dep (rhbz 1456722)
-rw-r--r--force-python3-in-kvm_stat.patch22
-rw-r--r--kernel.spec6
2 files changed, 28 insertions, 0 deletions
diff --git a/force-python3-in-kvm_stat.patch b/force-python3-in-kvm_stat.patch
new file mode 100644
index 000000000..38fca1b3c
--- /dev/null
+++ b/force-python3-in-kvm_stat.patch
@@ -0,0 +1,22 @@
+From fc6a72140ef515447743c840674b1aa86b1a4812 Mon Sep 17 00:00:00 2001
+From: Fedora Kernel Team <kernel-team@fedoraproject.org>
+Date: Tue, 25 Jul 2017 12:38:46 -0500
+Subject: [PATCH] Force python3 in kvm_stat
+
+---
+ tools/kvm/kvm_stat/kvm_stat | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/kvm/kvm_stat/kvm_stat b/tools/kvm/kvm_stat/kvm_stat
+index 8f74ed8..12a8cbb 100755
+--- a/tools/kvm/kvm_stat/kvm_stat
++++ b/tools/kvm/kvm_stat/kvm_stat
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ #
+ # top-like utility for displaying kvm statistics
+ #
+--
+2.9.4
+
diff --git a/kernel.spec b/kernel.spec
index 6c9a1f32e..94b1c1de3 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -529,6 +529,9 @@ Patch002: 0001-iio-Use-event-header-from-kernel-tree.patch
# Standalone patches
# 100 - Generic long running patches
+# Force python3
+Patch105: force-python3-in-kvm_stat.patch
+
Patch110: lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch
Patch111: input-kill-stupid-messages.patch
@@ -2202,6 +2205,9 @@ fi
#
#
%changelog
+* Tue Aug 22 2017 Peter Robinson <pbrobinson@fedoraproject.org>
+- Force python3 for kvm_stat because we can't dep (rhbz 1456722)
+
* Mon Aug 21 2017 Justin M. Forbes <jforbes@fedoraproject.org> - 4.13.0-0.rc6.git0.1
- Disable debugging options.
- Linux v4.13-rc6