mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
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. (From OE-Core rev: 23df3024664ec56dbbe8865ef3953d2c33a7a2cb) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e52d60d9d4
commit
822f6b6143
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user