summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/xen-arch.inc
diff options
context:
space:
mode:
authorPaul Barker <paul@paulbarker.me.uk>2017-01-01 22:21:20 +0000
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-01-03 10:28:33 -0500
commite64f378b93e6fed8f5e8a019e1c4a82bdad4fe0c (patch)
tree79cbcd4bfe6b2db3e8baf0a0a9c2d224296e7692 /recipes-extended/xen/xen-arch.inc
parentb0a72cd343c9bdb38d01f6dbf0c5ac3d55c769dd (diff)
downloadmeta-virtualization-e64f378b93e6fed8f5e8a019e1c4a82bdad4fe0c.tar.gz
Remove True option to getVar calls
getVar() now defaults to expanding by default. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/xen/xen-arch.inc')
-rw-r--r--recipes-extended/xen/xen-arch.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/xen/xen-arch.inc b/recipes-extended/xen/xen-arch.inc
index 844d47dd..fb0093e3 100644
--- a/recipes-extended/xen/xen-arch.inc
+++ b/recipes-extended/xen/xen-arch.inc
@@ -6,7 +6,7 @@ valid_xen_archs = " \
6 6
7def map_xen_arch(a, d): 7def map_xen_arch(a, d):
8 import re 8 import re
9 valid_archs = d.getVar('valid_xen_archs', True).split() 9 valid_archs = d.getVar('valid_xen_archs').split()
10 10
11 if re.match("i.86", a): return "x86_32" 11 if re.match("i.86", a): return "x86_32"
12 elif re.match("x86.64", a): return "x86_64" 12 elif re.match("x86.64", a): return "x86_64"