public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Badrikesh Prusty' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: badrikesh prusty <badrikesh.prusty@siemens.com>
Subject: [PATCH 2/2] kas: Support CACHE_DBG_PKGS option in menu
Date: Fri,  4 Apr 2025 02:01:14 +0530	[thread overview]
Message-ID: <20250403203114.1261163-2-badrikesh.prusty@siemens.com> (raw)
In-Reply-To: <20250403203114.1261163-1-badrikesh.prusty@siemens.com>

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

Users can now select 'Cache all debug packages' from the kas/kas-container
menu to enable the caching of debug symbol packages.

Signed-off-by: badrikesh prusty <badrikesh.prusty@siemens.com>
---
 kas/opt/Kconfig             | 12 ++++++++++++
 kas/opt/cache-dbg-pkgs.yaml |  9 +++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 kas/opt/cache-dbg-pkgs.yaml

diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig
index 5784a6dd..3fa57f87 100644
--- a/kas/opt/Kconfig
+++ b/kas/opt/Kconfig
@@ -182,3 +182,15 @@ config KAS_INCLUDE_CACHE_DEB_SRC
 	string
 	default "kas/opt/cache-deb-src.yaml"
 	depends on CACHE_DEB_SRC
+
+
+config CACHE_DBG_PKGS
+	bool "Cache all debug packages"
+	help
+	  This feature allows to download debug symbol packages for any binary package
+	  that took part in the build (including ones downloaded from distro mirrors).
+
+config KAS_INCLUDE_CACHE_DBG_PKGS
+	string
+	default "kas/opt/cache-dbg-pkgs.yaml"
+	depends on CACHE_DBG_PKGS
diff --git a/kas/opt/cache-dbg-pkgs.yaml b/kas/opt/cache-dbg-pkgs.yaml
new file mode 100644
index 00000000..5f53c368
--- /dev/null
+++ b/kas/opt/cache-dbg-pkgs.yaml
@@ -0,0 +1,9 @@
+# This software is a part of ISAR.
+# Copyright (C) 2025 ilbers GmbH
+
+header:
+  version: 14
+
+local_conf_header:
+  cache-dbg-pkgs: |
+    BASE_REPO_FEATURES:append = " cache-dbg-pkgs"
-- 
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-2-badrikesh.prusty%40siemens.com.

      reply	other threads:[~2025-04-03 20:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` 'Badrikesh Prusty' via isar-users [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250403203114.1261163-2-badrikesh.prusty@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=badrikesh.prusty@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox