From: Paul Barker Date: Wed, 3 Jun 2020 20:03:48 +0000 (+0100) Subject: archiver: Fix test case for srpm archiver mode X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~10871 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23df3024664ec56dbbe8865ef3953d2c33a7a2cb;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git archiver: Fix test case for srpm archiver mode We can't assume that rpm packaging will always be enabled when running oe-selftest. In particular when using nodistro instead of poky this is not enabled by default. Signed-off-by: Paul Barker Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/archiver.py b/meta/lib/oeqa/selftest/cases/archiver.py index 606eaabcb03..bc5447d2a30 100644 --- a/meta/lib/oeqa/selftest/cases/archiver.py +++ b/meta/lib/oeqa/selftest/cases/archiver.py @@ -126,6 +126,7 @@ class Archiver(OESelftestTestCase): features = 'INHERIT += "archiver"\n' features += 'ARCHIVER_MODE[srpm] = "1"\n' + features += 'PACKAGE_CLASSES = "package_rpm"\n' self.write_config(features) bitbake('-n core-image-sato')