public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH v2 10/12] kas: Support CACHE_DEB_SRC option in menu
Date: Tue, 19 Sep 2023 13:56:38 +0200	[thread overview]
Message-ID: <20230919115640.18398-11-ubely@ilbers.de> (raw)
In-Reply-To: <20230919115640.18398-1-ubely@ilbers.de>

This allows user to select this option in the menu.

Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
 kas/opt/Kconfig            | 12 ++++++++++++
 kas/opt/cache-deb-src.yaml |  6 ++++++
 2 files changed, 18 insertions(+)
 create mode 100644 kas/opt/cache-deb-src.yaml

diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig
index d4a1de38..344a0b91 100644
--- a/kas/opt/Kconfig
+++ b/kas/opt/Kconfig
@@ -87,3 +87,15 @@ config KAS_INCLUDE_USE_CCACHE
 	string
 	default "kas/opt/ccache.yaml"
 	depends on USE_CCACHE
+
+
+config CACHE_DEB_SRC
+	bool "Cache all source packages"
+	help
+	  This feature allows to download srcpackages for any binary package that
+	  took part in the build (including ones downloaded from distro mirrors).
+
+config KAS_INCLUDE_CACHE_DEB_SRC
+	string
+	default "kas/opt/cache-deb-src.yaml"
+	depends on CACHE_DEB_SRC
diff --git a/kas/opt/cache-deb-src.yaml b/kas/opt/cache-deb-src.yaml
new file mode 100644
index 00000000..2030c90e
--- /dev/null
+++ b/kas/opt/cache-deb-src.yaml
@@ -0,0 +1,6 @@
+header:
+  version: 14
+
+local_conf_header:
+  cache-deb-src: |
+    BASE_REPO_FEATURES:append = " cache-deb-src"
-- 
2.20.1


  parent reply	other threads:[~2023-09-19 11:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-19 11:56 [PATCH v2 00/12] Support building Isar using kas Uladzimir Bely
2023-09-19 11:56 ` [PATCH v2 01/12] kas: Add initial Kconfig support Uladzimir Bely
2023-09-19 12:04   ` Jan Kiszka
2023-09-19 11:56 ` [PATCH v2 02/12] kas: Add a local copy of kas-container script Uladzimir Bely
2023-09-19 11:56 ` [PATCH v2 03/12] kas: Add mirror selection Uladzimir Bely
2023-09-19 11:56 ` [PATCH v2 04/12] kas: Add packages selection Uladzimir Bely
2023-09-19 11:56 ` [PATCH v2 05/12] kas: Add COMPAT_ARCH support Uladzimir Bely
2023-09-19 11:56 ` [PATCH v2 06/12] kas: Add cross compilation mode selection support Uladzimir Bely
2023-09-19 11:56 ` [PATCH v2 07/12] kas: Add ccache option Uladzimir Bely
2023-09-19 11:56 ` [PATCH v2 08/12] kas: Add image type selection Uladzimir Bely
2023-09-19 11:56 ` [PATCH v2 09/12] kas: Add IMAGE_FSTYPES selection Uladzimir Bely
2023-09-19 11:56 ` Uladzimir Bely [this message]
2023-09-19 11:56 ` [PATCH v2 11/12] kas: Add options to activate predefined users Uladzimir Bely
2023-09-19 11:56 ` [PATCH v2 12/12] kas: Add kas/README.md Uladzimir Bely

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=20230919115640.18398-11-ubely@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.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