Skip to contentSkip to conversation

archiver: Fix test case for srpm archiver mode

PATCH New Paul Barker 1 participant 1 message Jun 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/lib/oeqa/selftest/cases/archiver.py | 1 +
 1 file changed, 1 insertion(+)
meta/lib/oeqa/selftest/cases/archiver.py +1 -0
index d557d9b576..e6d321f157 100644
@@ -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')
Signature · 1 line
2.26.2