* [PATCH] set rdeptask for do_deploy_deb
@ 2022-10-25 13:13 Adriaan Schmidt
2022-11-03 8:54 ` Anton Mikanovich
0 siblings, 1 reply; 2+ messages in thread
From: Adriaan Schmidt @ 2022-10-25 13:13 UTC (permalink / raw)
To: isar-users; +Cc: Adriaan Schmidt
Isar currently supports setting build-dependencies between recipes with
DEPENDS, and runtime/installation dependencies with DEBIAN_DEPENDS.
However, the bitbake mechanism of RDEPENDS, for runtime dependencies
between recipes, is not supported. So currently, if we model a runtime
dependecy between recipes, we need to use DEPENDS, which at the same
time enforces a build dependency, i.e., restricts parallel execution
of builds.
To enable the use of RDEPENDS in Isar, we set the task (deploy_deb)
that should be linked by those dependencies.
Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
---
meta/classes/dpkg-base.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass
index 12d18592..e4f6711c 100644
--- a/meta/classes/dpkg-base.bbclass
+++ b/meta/classes/dpkg-base.bbclass
@@ -301,6 +301,7 @@ do_deploy_deb() {
addtask deploy_deb after do_dpkg_build before do_build
do_deploy_deb[deptask] = "do_deploy_deb"
+do_deploy_deb[rdeptask] = "do_deploy_deb"
do_deploy_deb[depends] += "isar-apt:do_cache_config"
do_deploy_deb[lockfiles] = "${REPO_ISAR_DIR}/isar.lock"
do_deploy_deb[dirs] = "${S}"
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] set rdeptask for do_deploy_deb
2022-10-25 13:13 [PATCH] set rdeptask for do_deploy_deb Adriaan Schmidt
@ 2022-11-03 8:54 ` Anton Mikanovich
0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2022-11-03 8:54 UTC (permalink / raw)
To: Adriaan Schmidt, isar-users
25.10.2022 16:13, Adriaan Schmidt wrote:
> Isar currently supports setting build-dependencies between recipes with
> DEPENDS, and runtime/installation dependencies with DEBIAN_DEPENDS.
>
> However, the bitbake mechanism of RDEPENDS, for runtime dependencies
> between recipes, is not supported. So currently, if we model a runtime
> dependecy between recipes, we need to use DEPENDS, which at the same
> time enforces a build dependency, i.e., restricts parallel execution
> of builds.
>
> To enable the use of RDEPENDS in Isar, we set the task (deploy_deb)
> that should be linked by those dependencies.
>
> Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Applied to next, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-03 8:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 13:13 [PATCH] set rdeptask for do_deploy_deb Adriaan Schmidt
2022-11-03 8:54 ` Anton Mikanovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox