]> code.ossystems Code Review - openembedded-core.git/commitdiff
archiver: Fix test case for srpm archiver mode
authorPaul Barker <pbarker@konsulko.com>
Wed, 3 Jun 2020 20:03:48 +0000 (21:03 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 16 Jun 2020 20:14:02 +0000 (10:14 -1000)
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 <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23df3024664ec56dbbe8865ef3953d2c33a7a2cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/cases/archiver.py

index 606eaabcb0365cb962d3b56102fa6eddffd5cd35..bc5447d2a30099d1659edb615d2f865c5d0c34f8 100644 (file)
@@ -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')