summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/testimage.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-recipe/testimage.bbclass')
-rw-r--r--meta/classes-recipe/testimage.bbclass5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass
index 819c7d2bf4..5cc408b0c4 100644
--- a/meta/classes-recipe/testimage.bbclass
+++ b/meta/classes-recipe/testimage.bbclass
@@ -468,10 +468,7 @@ def create_rpm_index(d):
468 package_list = glob.glob(idx_path + "*/*.rpm") 468 package_list = glob.glob(idx_path + "*/*.rpm")
469 469
470 for pkg in package_list: 470 for pkg in package_list:
471 if os.path.basename(pkg).startswith(("curl-ptest")): 471 if not os.path.basename(pkg).startswith(("dnf-test-", "busybox", "update-alternatives", "libc6", "musl")):
472 bb.utils.remove(pkg)
473
474 if not os.path.basename(pkg).startswith(("rpm", "run-postinsts", "busybox", "bash", "update-alternatives", "libc6", "curl", "musl")):
475 bb.utils.remove(pkg) 472 bb.utils.remove(pkg)
476 473
477 bb.utils.unlockfile(lf) 474 bb.utils.unlockfile(lf)