summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2019-06-28 20:23:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-30 22:40:52 +0100
commitdcce395782ae9adf9554892f1e5cba01f15320b1 (patch)
treee8fee73ede55d8e6c8b75d11d1b808f6f4f04233
parent15cdacb8c03fe3061f1159e6c4eaacf3dcbde8eb (diff)
downloadpoky-dcce395782ae9adf9554892f1e5cba01f15320b1.tar.gz
package_rpm.bbclass: python2 -> python3
(From OE-Core rev: 8208fffc95b46e03bab967462c17d83e0a687d50) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 1a64cb271a..a605a57ecc 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -36,7 +36,7 @@ def write_rpm_perfiledata(srcname, d):
36 pkgd = d.getVar('PKGD') 36 pkgd = d.getVar('PKGD')
37 37
38 def dump_filerdeps(varname, outfile, d): 38 def dump_filerdeps(varname, outfile, d):
39 outfile.write("#!/usr/bin/env python\n\n") 39 outfile.write("#!/usr/bin/env python3\n\n")
40 outfile.write("# Dependency table\n") 40 outfile.write("# Dependency table\n")
41 outfile.write('deps = {\n') 41 outfile.write('deps = {\n')
42 for pkg in packages.split(): 42 for pkg in packages.split():