mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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. (From OE-Core rev: 830663cee1eabdecdd473f4589a6c03b6e6c409b) 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>
This commit is contained in:
committed by
Richard Purdie
parent
2ef273f424
commit
af6199215f
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user