diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-02-22 12:11:12 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-02-22 12:11:12 -0500 |
commit | f529090d7f99b8d2ceb67f9ed93a772c72778679 (patch) | |
tree | fc69c0f5c4c733f49b81f570d67640a78b1eca88 | |
parent | 2da5cb4bfc0eba7b5838d5ca3bc1151a004979de (diff) | |
download | meta-virtualization-f529090d7f99b8d2ceb67f9ed93a772c72778679.tar.gz |
xen-arch: add explicit expansion parameter
To avoid parse errors with oe-core master, we need to expliictly pass the
expansion parameter to getVar.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-extended/xen/xen-arch.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/xen/xen-arch.inc b/recipes-extended/xen/xen-arch.inc index fb0093e3..844d47dd 100644 --- a/recipes-extended/xen/xen-arch.inc +++ b/recipes-extended/xen/xen-arch.inc | |||
@@ -6,7 +6,7 @@ valid_xen_archs = " \ | |||
6 | 6 | ||
7 | def map_xen_arch(a, d): | 7 | def map_xen_arch(a, d): |
8 | import re | 8 | import re |
9 | valid_archs = d.getVar('valid_xen_archs').split() | 9 | valid_archs = d.getVar('valid_xen_archs', True).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" |