mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00: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: b69ec712c690aa279996d5a9395dc16ae8402a3e) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
54b8fcc703
commit
b79d55961e
@@ -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