From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH v2 3/4] sdk: Control isar-apt list removing
Date: Thu, 21 Dec 2023 12:31:41 +0200 [thread overview]
Message-ID: <20231221103142.47089-4-amikan@ilbers.de> (raw)
In-Reply-To: <20231221103142.47089-1-amikan@ilbers.de>
Do not remove isar-apt.list in case SDK_INCLUDE_ISAR_APT enabled.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
meta/classes/sdk.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass
index e76f7930..52c3bec5 100644
--- a/meta/classes/sdk.bbclass
+++ b/meta/classes/sdk.bbclass
@@ -68,6 +68,8 @@ SDKROOTFSVARDEPS = ""
SDKROOTFSVARDEPS:class-sdk = "SDK_INCLUDE_ISAR_APT"
do_rootfs_install[vardeps] += "${SDKROOTFSVARDEPS}"
+ROOTFS_POSTPROCESS_COMMAND:remove = "${@'rootfs_cleanup_isar_apt' if d.getVar('SDK_INCLUDE_ISAR_APT') == '1' else ''}"
+
# additional SDK steps
ROOTFS_CONFIGURE_COMMAND:append:class-sdk = " ${@'rootfs_configure_isar_apt_dir' if d.getVar('SDK_INCLUDE_ISAR_APT') == '1' else ''}"
rootfs_configure_isar_apt_dir() {
--
2.34.1
next prev parent reply other threads:[~2023-12-21 10:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-21 10:31 [PATCH v2 0/4] Fixing isar-apt usage inside SDK Anton Mikanovich
2023-12-21 10:31 ` [PATCH v2 1/4] rootfs: Split isar-apt and base-apt cleanup Anton Mikanovich
2023-12-21 10:31 ` [PATCH v2 2/4] sdk: Remove duplicated isar-apt cleanup Anton Mikanovich
2023-12-21 10:31 ` Anton Mikanovich [this message]
2023-12-21 10:31 ` [PATCH v2 4/4] doc/user_manual.md: Improve SDK usage howto Anton Mikanovich
2023-12-29 7:17 ` [PATCH v2 0/4] Fixing isar-apt usage inside SDK Anton Mikanovich
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=20231221103142.47089-4-amikan@ilbers.de \
--to=amikan@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