diff options
author | Paul Barker <pbarker@konsulko.com> | 2020-06-03 21:03:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-04 13:27:32 +0100 |
commit | 822f6b61431b1ca1feb436457012bdf044ea8d1f (patch) | |
tree | bffa411951223e3081d28b9402b8887ab9665189 /meta/lib | |
parent | e52d60d9d472460f2506bedb0ce109905dc590cf (diff) | |
download | poky-822f6b61431b1ca1feb436457012bdf044ea8d1f.tar.gz |
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>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/archiver.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/archiver.py b/meta/lib/oeqa/selftest/cases/archiver.py index 606eaabcb0..bc5447d2a3 100644 --- a/meta/lib/oeqa/selftest/cases/archiver.py +++ b/meta/lib/oeqa/selftest/cases/archiver.py | |||
@@ -126,6 +126,7 @@ class Archiver(OESelftestTestCase): | |||
126 | 126 | ||
127 | features = 'INHERIT += "archiver"\n' | 127 | features = 'INHERIT += "archiver"\n' |
128 | features += 'ARCHIVER_MODE[srpm] = "1"\n' | 128 | features += 'ARCHIVER_MODE[srpm] = "1"\n' |
129 | features += 'PACKAGE_CLASSES = "package_rpm"\n' | ||
129 | self.write_config(features) | 130 | self.write_config(features) |
130 | 131 | ||
131 | bitbake('-n core-image-sato') | 132 | bitbake('-n core-image-sato') |