diff options
author | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2022-07-05 10:49:11 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-08 00:07:50 +0100 |
commit | 830663cee1eabdecdd473f4589a6c03b6e6c409b (patch) | |
tree | a5665b1fcf40dae4dd80b3e176d53196fa3865d6 /meta/classes/testimage.bbclass | |
parent | 5fe8c14f50d414e768588cef0675d8ef296ced77 (diff) | |
download | openembedded-core-contrib-830663cee1eabdecdd473f4589a6c03b6e6c409b.tar.gz |
testimage : remove curl-ptest from rpm index
When creating rpm index for dnf runtime tests, currently all the package
starting with curl are getting included. Now curl-ptest is getting enabled
through another patch but we don't want rpm index to be created for
curl-ptest since it fetches lot of perl dependencies. This patch removes
curl-ptest from rpm index.
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r-- | meta/classes/testimage.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 8ffaeab284..7898223bce 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass @@ -472,6 +472,9 @@ def create_rpm_index(d): package_list = glob.glob(idx_path + "*/*.rpm") for pkg in package_list: + if os.path.basename(pkg).startswith(("curl-ptest")): + bb.utils.remove(pkg) + if not os.path.basename(pkg).startswith(("rpm", "run-postinsts", "busybox", "bash", "update-alternatives", "libc6", "curl", "musl")): bb.utils.remove(pkg) |