From: Richard Purdie Date: Thu, 22 Feb 2024 17:20:59 +0000 (+0000) Subject: recipetool: Fix errors with meta-poky bbappend X-Git-Tag: yocto-5.2~3574 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7cf85204f0943bf741ffce5c4105340197c714df;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git recipetool: Fix errors with meta-poky bbappend When a new base-files bbappend was added to meta-poky, it causes selftest failures. Whilst this isn't ideal, workaround that issue for now since the append is being added for security visibility and changing the tests to support this more generically looks invasive. Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index 2eca1800de1..aebea42502b 100644 --- a/meta/lib/oeqa/selftest/cases/recipetool.py +++ b/meta/lib/oeqa/selftest/cases/recipetool.py @@ -48,6 +48,8 @@ class RecipetoolBase(devtool.DevtoolTestCase): self.testfile = os.path.join(self.tempdir, 'testfile') with open(self.testfile, 'w') as f: f.write('Test file\n') + config = 'BBMASK += "meta-poky/recipes-core/base-files/base-files_%.bbappend"\n' + self.append_config(config) def tearDownLocal(self): runCmd('rm -rf %s/recipes-*' % self.templayerdir)