From 31659557a34b4c360d32ded6edde3c265c1ed664 Mon Sep 17 00:00:00 2001 From: ryan link Date: Mon, 11 Nov 2024 12:27:44 -0600 Subject: [PATCH] Apply new patch to kirkstone-patch-new --- classes/fossa.bbclass | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/classes/fossa.bbclass b/classes/fossa.bbclass index b4d27f8..b235c83 100644 --- a/classes/fossa.bbclass +++ b/classes/fossa.bbclass @@ -95,10 +95,15 @@ python do_fossa() { metadata_dir = d.getVar('FOSSA_METADATA_RECIPES') pkg_metadata = all_pkg_metadata(d, metadata_dir) - pkgs = image_list_installed_packages(d) + pkg_metadata = all_pkg_metadata(d, metadata_dir) installed_pkgs = [] - for pkg in pkgs: + for pkg in pkg_metadata: + + for ignored_suffix in (d.getVar("SPECIAL_PKGSUFFIX") or "").split(): + if pkg.endswith(ignored_suffix): + pass + try: installed_pkgs.append(mk_user_dependencies(pkg_metadata[pkg])) except Exception: