diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2023-12-07 18:48:39 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-08 16:58:34 +0000 |
| commit | 45d2f8d4bc2ca7c16379334a93ea172a538a6bb2 (patch) | |
| tree | 0080ef1670f6b8db0000cf981abd4d705ca9ef8e /meta/lib | |
| parent | decf6e66dfe3d688c93b3ff811077c46cb9883bb (diff) | |
| download | poky-45d2f8d4bc2ca7c16379334a93ea172a538a6bb2.tar.gz | |
recipetool: create: Only include the expected SRC_URI checksums
Rather than including all SRC_URI checksums, include the ones that are
expected. These are the same as are output if no checksums are included
when building the recipe.
(From OE-Core rev: c2af83eb5e8573480179b6c0bcce50606b547099)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/recipetool.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py b/meta/lib/oeqa/selftest/cases/recipetool.py index 20dd41f492..08da029e6e 100644 --- a/meta/lib/oeqa/selftest/cases/recipetool.py +++ b/meta/lib/oeqa/selftest/cases/recipetool.py | |||
| @@ -349,7 +349,6 @@ class RecipetoolCreateTests(RecipetoolBase): | |||
| 349 | checkvars['LICENSE'] = 'GPL-2.0-only' | 349 | checkvars['LICENSE'] = 'GPL-2.0-only' |
| 350 | checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263' | 350 | checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263' |
| 351 | checkvars['SRC_URI'] = 'https://github.com/logrotate/logrotate/releases/download/${PV}/logrotate-${PV}.tar.xz' | 351 | checkvars['SRC_URI'] = 'https://github.com/logrotate/logrotate/releases/download/${PV}/logrotate-${PV}.tar.xz' |
| 352 | checkvars['SRC_URI[md5sum]'] = 'a560c57fac87c45b2fc17406cdf79288' | ||
| 353 | checkvars['SRC_URI[sha256sum]'] = '2e6a401cac9024db2288297e3be1a8ab60e7401ba8e91225218aaf4a27e82a07' | 352 | checkvars['SRC_URI[sha256sum]'] = '2e6a401cac9024db2288297e3be1a8ab60e7401ba8e91225218aaf4a27e82a07' |
| 354 | self._test_recipe_contents(recipefile, checkvars, []) | 353 | self._test_recipe_contents(recipefile, checkvars, []) |
| 355 | 354 | ||
| @@ -407,7 +406,6 @@ class RecipetoolCreateTests(RecipetoolBase): | |||
| 407 | checkvars = {} | 406 | checkvars = {} |
| 408 | checkvars['LICENSE'] = set(['LGPL-2.1-only', 'MPL-1.1-only']) | 407 | checkvars['LICENSE'] = set(['LGPL-2.1-only', 'MPL-1.1-only']) |
| 409 | checkvars['SRC_URI'] = 'http://taglib.github.io/releases/taglib-${PV}.tar.gz' | 408 | checkvars['SRC_URI'] = 'http://taglib.github.io/releases/taglib-${PV}.tar.gz' |
| 410 | checkvars['SRC_URI[md5sum]'] = 'cee7be0ccfc892fa433d6c837df9522a' | ||
| 411 | checkvars['SRC_URI[sha256sum]'] = 'b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b' | 409 | checkvars['SRC_URI[sha256sum]'] = 'b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b' |
| 412 | checkvars['DEPENDS'] = set(['boost', 'zlib']) | 410 | checkvars['DEPENDS'] = set(['boost', 'zlib']) |
| 413 | inherits = ['cmake'] | 411 | inherits = ['cmake'] |
