* [PATCH] image-tools-extension: Limit IMAGER_BUILD_DEPS to do_image_tools task
@ 2025-08-17 16:20 'Jan Kiszka' via isar-users
2025-09-12 9:16 ` Anton Mikanovich
0 siblings, 1 reply; 2+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-08-17 16:20 UTC (permalink / raw)
To: isar-users
From: Jan Kiszka <jan.kiszka@siemens.com>
There is no reason to let the rootfs_install task wait for imager build
dependencies. This also avoid rebuilding the rootfs if only an imager
dependency was updated.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
meta/classes/image-tools-extension.bbclass | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/meta/classes/image-tools-extension.bbclass b/meta/classes/image-tools-extension.bbclass
index e8ace8f5..5e248f2e 100644
--- a/meta/classes/image-tools-extension.bbclass
+++ b/meta/classes/image-tools-extension.bbclass
@@ -1,5 +1,5 @@
# This software is a part of ISAR.
-# Copyright (C) Siemens AG, 2019
+# Copyright (C) Siemens AG, 2019-2024
#
# SPDX-License-Identifier: MIT
#
@@ -9,7 +9,11 @@ inherit sbuild
IMAGER_INSTALL ??= ""
IMAGER_BUILD_DEPS ??= ""
-DEPENDS += "${IMAGER_BUILD_DEPS}"
+
+python() {
+ for dep in d.getVar('IMAGER_BUILD_DEPS').split():
+ d.appendVarFlag('do_image_tools', 'depends', ' ' + dep + ':do_deploy_deb')
+}
SCHROOT_MOUNTS = "${WORKDIR}:${PP_WORK} ${IMAGE_ROOTFS}:${PP_ROOTFS} ${DEPLOY_DIR_IMAGE}:${PP_DEPLOY}"
SCHROOT_MOUNTS += "${REPO_ISAR_DIR}/${DISTRO}:/isar-apt"
--
2.43.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/143fcb5c-c8bb-4292-8cf8-760fa366020f%40siemens.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] image-tools-extension: Limit IMAGER_BUILD_DEPS to do_image_tools task
2025-08-17 16:20 [PATCH] image-tools-extension: Limit IMAGER_BUILD_DEPS to do_image_tools task 'Jan Kiszka' via isar-users
@ 2025-09-12 9:16 ` Anton Mikanovich
0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2025-09-12 9:16 UTC (permalink / raw)
To: Jan Kiszka, isar-users
17/08/2025 19:20, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> There is no reason to let the rootfs_install task wait for imager build
> dependencies. This also avoid rebuilding the rootfs if only an imager
> dependency was updated.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Applied to next, thanks.
--
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/911c155a-f7ee-40ea-9d22-45ae7b158ede%40ilbers.de.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-12 9:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-17 16:20 [PATCH] image-tools-extension: Limit IMAGER_BUILD_DEPS to do_image_tools task 'Jan Kiszka' via isar-users
2025-09-12 9:16 ` Anton Mikanovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox