diff options
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 3 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/autotools.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index 49a0788038..cb06e89179 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -364,7 +364,8 @@ class AddFragmentsNode(AstNode): | |||
364 | def check_and_set_builtin_fragment(fragment, data, builtin_fragments): | 364 | def check_and_set_builtin_fragment(fragment, data, builtin_fragments): |
365 | prefix, value = fragment.split('/', 1) | 365 | prefix, value = fragment.split('/', 1) |
366 | if prefix in builtin_fragments.keys(): | 366 | if prefix in builtin_fragments.keys(): |
367 | data.setVar(builtin_fragments[prefix], value) | 367 | # parsing=True since we want to emulate X=Y and allow X:override=Z to continue to exist |
368 | data.setVar(builtin_fragments[prefix], value, parsing=True) | ||
368 | return True | 369 | return True |
369 | return False | 370 | return False |
370 | 371 | ||
diff --git a/meta/lib/oeqa/sdk/cases/autotools.py b/meta/lib/oeqa/sdk/cases/autotools.py index 3f51854e3d..ecafafa7d6 100644 --- a/meta/lib/oeqa/sdk/cases/autotools.py +++ b/meta/lib/oeqa/sdk/cases/autotools.py | |||
@@ -27,7 +27,7 @@ class AutotoolsTest(OESDKTestCase): | |||
27 | pmv = parallel_make_value((self.td.get('PARALLEL_MAKE') or '').split()) | 27 | pmv = parallel_make_value((self.td.get('PARALLEL_MAKE') or '').split()) |
28 | 28 | ||
29 | with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir: | 29 | with tempfile.TemporaryDirectory(prefix="cpio-", dir=self.tc.sdk_dir) as testdir: |
30 | tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.gz") | 30 | tarball = self.fetch(testdir, self.td["DL_DIR"], "https://ftpmirror.gnu.org/gnu/cpio/cpio-2.15.tar.gz") |
31 | 31 | ||
32 | opts = {} | 32 | opts = {} |
33 | opts["source"] = os.path.join(testdir, "cpio-2.15") | 33 | opts["source"] = os.path.join(testdir, "cpio-2.15") |