From: "'Felix Moessbauer' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH 5/6] kas: port isar-exclude-docs to rootfs feature
Date: Thu, 24 Sep 2026 09:38:10 +0200 [thread overview]
Message-ID: <20260924073811.4058349-6-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20260924073811.4058349-1-felix.moessbauer@siemens.com>
The logic to exclude documentation has been ported over to a rootfs
feature. The former isar-exclude-docs package is just kept for
compatibility.
By that, we also port over the kas menu logic to use the rootfs feature
instead of installing the package.
For compatibility, we still keep the isar-exclude-docs package but issue
a warning if it is build.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
kas/opt/Kconfig | 9 +++++++++
.../exclude-docs.yaml} | 4 ++--
kas/package/Kconfig | 11 -----------
scripts/generate_yaml.sh | 1 -
4 files changed, 11 insertions(+), 14 deletions(-)
rename kas/{package/pkg_isar-exclude-docs.yaml => opt/exclude-docs.yaml} (58%)
diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig
index bc4ed997..ec010757 100644
--- a/kas/opt/Kconfig
+++ b/kas/opt/Kconfig
@@ -213,3 +213,12 @@ config KAS_INCLUDE_USE_DRACUT
string
default "kas/opt/dracut.yaml"
depends on USE_DRACUT
+
+config IMAGE_EXCLUDE_DOCS
+ bool "Exclude docs from the image"
+ default y
+
+config KAS_INCLUDE_IMAGE_EXCLUDE_DOCS
+ string
+ default "kas/opt/exclude-docs.yaml"
+ depends on IMAGE_EXCLUDE_DOCS
diff --git a/kas/package/pkg_isar-exclude-docs.yaml b/kas/opt/exclude-docs.yaml
similarity index 58%
rename from kas/package/pkg_isar-exclude-docs.yaml
rename to kas/opt/exclude-docs.yaml
index 0c24e982..c86b93ab 100644
--- a/kas/package/pkg_isar-exclude-docs.yaml
+++ b/kas/opt/exclude-docs.yaml
@@ -5,5 +5,5 @@ header:
version: 14
local_conf_header:
- package-isar-exclude-docs: |
- IMAGE_INSTALL:append = " isar-exclude-docs"
+ image-exclude-docs: |
+ IMAGE_ROOTFS_FEATURES += "exclude-docs"
diff --git a/kas/package/Kconfig b/kas/package/Kconfig
index 527aec0f..e342f8ef 100644
--- a/kas/package/Kconfig
+++ b/kas/package/Kconfig
@@ -89,17 +89,6 @@ config KAS_INCLUDE_PACKAGE_HELLO_ISAR
default "kas/package/pkg_hello-isar.yaml"
depends on PACKAGE_HELLO_ISAR
-
-config PACKAGE_ISAR_EXCLUDE_DOCS
- bool "isar-exclude-docs"
- default y
-
-config KAS_INCLUDE_PACKAGE_ISAR_EXCLUDE_DOCS
- string
- default "kas/package/pkg_isar-exclude-docs.yaml"
- depends on PACKAGE_ISAR_EXCLUDE_DOCS
-
-
config PACKAGE_ISAR_DISABLE_APT_CACHE
bool "isar-disable-apt-cache"
default y
diff --git a/scripts/generate_yaml.sh b/scripts/generate_yaml.sh
index aaa8bcba..904d241d 100755
--- a/scripts/generate_yaml.sh
+++ b/scripts/generate_yaml.sh
@@ -109,7 +109,6 @@ PKGS=" \
hello-isar \
hello \
isar-disable-apt-cache \
- isar-exclude-docs \
kselftest \
samefile \
sshd-regen-keys \
--
2.55.0
--
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/20260924073811.4058349-6-felix.moessbauer%40siemens.com.
next prev parent reply other threads:[~2026-09-24 7:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-24 7:38 [PATCH 0/6] Model isar-exclude-docs as " 'Felix Moessbauer' via isar-users
2026-09-24 7:38 ` [PATCH 1/6] rootfs: add feature to clean isar generated dpkg config 'Felix Moessbauer' via isar-users
2026-09-24 7:38 ` [PATCH 2/6] image: add IMAGE_ROOTFS_FEATURES to set rootfs features of the image 'Felix Moessbauer' via isar-users
2026-09-24 7:38 ` [PATCH 3/6] isar-exclude-docs: model via rootfs feature 'Felix Moessbauer' via isar-users
2026-09-24 7:38 ` [PATCH 4/6] rootfs: also purge package changelogs on exclude-docs 'Felix Moessbauer' via isar-users
2026-09-24 7:38 ` 'Felix Moessbauer' via isar-users [this message]
2026-09-24 7:38 ` [PATCH 6/6] testsuite: replace isar-exclude-docs by rootfs feature 'Felix Moessbauer' via isar-users
2026-10-02 8:06 ` [PATCH 0/6] Model isar-exclude-docs as " 'MOESSBAUER, Felix' via isar-users
2026-10-02 8:12 ` Zhihang Wei
2026-10-02 10:03 ` 'MOESSBAUER, Felix' via isar-users
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=20260924073811.4058349-6-felix.moessbauer@siemens.com \
--to=isar-users@googlegroups.com \
--cc=felix.moessbauer@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