public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/2] rootfs: Correct cache-dbg-pkgs check to BASE_REPO_FEATURES
@ 2025-04-03 20:31 'Badrikesh Prusty' via isar-users
  2025-04-03 20:31 ` [PATCH 2/2] kas: Support CACHE_DBG_PKGS option in menu 'Badrikesh Prusty' via isar-users
  0 siblings, 1 reply; 2+ messages in thread
From: 'Badrikesh Prusty' via isar-users @ 2025-04-03 20:31 UTC (permalink / raw)
  To: isar-users; +Cc: badrikesh prusty

From: badrikesh prusty <badrikesh.prusty@siemens.com>

Debug symbol packages downloaded during do_rootfs_postprocess are missing from
the downloads/deb (DEBDIR) directory. This change ensures cache-dbg-pkgs is
checked within BASE_REPO_FEATURES, not ROOTFS_FEATURES, enabling the function
rootfs_export_package_cache to properly export downloaded debug packages to the
DEBDIR directory.

Signed-off-by: badrikesh prusty <badrikesh.prusty@siemens.com>
---
 meta/classes/rootfs.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/rootfs.bbclass b/meta/classes/rootfs.bbclass
index cd8fd118..7695bdb4 100644
--- a/meta/classes/rootfs.bbclass
+++ b/meta/classes/rootfs.bbclass
@@ -293,7 +293,7 @@ cache_deb_src() {
     fi
 }
 
-ROOTFS_POSTPROCESS_COMMAND += "${@bb.utils.contains('ROOTFS_FEATURES', 'cache-dbg-pkgs', 'rootfs_export_package_cache', '', d)}"
+ROOTFS_POSTPROCESS_COMMAND += "${@bb.utils.contains('BASE_REPO_FEATURES', 'cache-dbg-pkgs', 'rootfs_export_package_cache', '', d)}"
 cache_dbg_pkgs() {
     if [ -e "${ROOTFSDIR}"/etc/resolv.conf ] ||
        [ -h "${ROOTFSDIR}"/etc/resolv.conf ]; then
-- 
2.39.5

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250403203114.1261163-1-badrikesh.prusty%40siemens.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-03 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-03 20:31 [PATCH 1/2] rootfs: Correct cache-dbg-pkgs check to BASE_REPO_FEATURES 'Badrikesh Prusty' via isar-users
2025-04-03 20:31 ` [PATCH 2/2] kas: Support CACHE_DBG_PKGS option in menu 'Badrikesh Prusty' via isar-users

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox