* [PATCH 0/4] Fixing isar-apt usage inside SDK
@ 2023-12-06 12:12 Anton Mikanovich
2023-12-06 12:12 ` [PATCH 3/4] sdk: Control isar-apt list removing Anton Mikanovich
0 siblings, 1 reply; 4+ messages in thread
From: Anton Mikanovich @ 2023-12-06 12:12 UTC (permalink / raw)
To: isar-users; +Cc: Anton Mikanovich
This patchset fixes SDK prepare code to provide isar-apt based on
SDK_INCLUDE_ISAR_APT value. It also improves Isar documentation for SDK usage.
Anton Mikanovich (4):
rootfs: Split isar-apt and base-apt cleanup
sdk: Remove duplicated isar-apt cleanup
sdk: Control isar-apt list removing
doc/user_manual.md: Improve SDK usage howto
doc/user_manual.md | 31 ++++++++++++++++++++++++++++---
meta/classes/rootfs.bbclass | 8 ++++++++
meta/classes/sdk.bbclass | 7 ++-----
3 files changed, 38 insertions(+), 8 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 3/4] sdk: Control isar-apt list removing
2023-12-06 12:12 [PATCH 0/4] Fixing isar-apt usage inside SDK Anton Mikanovich
@ 2023-12-06 12:12 ` Anton Mikanovich
2023-12-07 0:55 ` Jan Kiszka
0 siblings, 1 reply; 4+ messages in thread
From: Anton Mikanovich @ 2023-12-06 12:12 UTC (permalink / raw)
To: isar-users; +Cc: Anton Mikanovich
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 3/4] sdk: Control isar-apt list removing
2023-12-06 12:12 ` [PATCH 3/4] sdk: Control isar-apt list removing Anton Mikanovich
@ 2023-12-07 0:55 ` Jan Kiszka
2023-12-07 15:46 ` Baurzhan Ismagulov
0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2023-12-07 0:55 UTC (permalink / raw)
To: Anton Mikanovich, isar-users
On 06.12.23 20:12, Anton Mikanovich wrote:
> Do not remove isar-apt.list in case SDK_INCLUDE_ISAR_APT enabled.
>
This says what it does, not why.
Does that isar-apt list really make any sense outside of the build
environment?
Jan
> 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() {
--
Siemens AG, Technology
Linux Expert Center
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 3/4] sdk: Control isar-apt list removing
2023-12-07 0:55 ` Jan Kiszka
@ 2023-12-07 15:46 ` Baurzhan Ismagulov
0 siblings, 0 replies; 4+ messages in thread
From: Baurzhan Ismagulov @ 2023-12-07 15:46 UTC (permalink / raw)
To: isar-users; +Cc: Jan Kiszka
On 2023-12-07 09:55, 'Jan Kiszka' via isar-users wrote:
> > Do not remove isar-apt.list in case SDK_INCLUDE_ISAR_APT enabled.
>
> This says what it does, not why.
>
> Does that isar-apt list really make any sense outside of the build
> environment?
isar-apt is essential for sdk users who have big or complex application
dependencies. It enables hello developer to do apt-get build-dep hello and get
all dependencies installed in the sdk.
This series fixes a regression of an existing feature. The motivation is
described in
https://github.com/ilbers/isar/blob/next/doc/user_manual.md#create-an-isar-sdk-root-filesystem
but the use case could be defined in more specific terms; we'll send a separate
patch for that.
With kind regards,
Baurzhan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-12-07 15:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <56da6ebc-d264-4cb8-86f9-8b53cbe1212c@ilbers.de>
2023-12-07 15:30 ` [PATCH 3/4] sdk: Control isar-apt list removing Anton Mikanovich
2023-12-06 12:12 [PATCH 0/4] Fixing isar-apt usage inside SDK Anton Mikanovich
2023-12-06 12:12 ` [PATCH 3/4] sdk: Control isar-apt list removing Anton Mikanovich
2023-12-07 0:55 ` Jan Kiszka
2023-12-07 15:46 ` Baurzhan Ismagulov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox