public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/1] fix dependencies of devshell tasks
@ 2024-01-17 10:37 Felix Moessbauer
  2024-01-17 10:45 ` Jan Kiszka
  2024-01-23  9:13 ` Uladzimir Bely
  0 siblings, 2 replies; 3+ messages in thread
From: Felix Moessbauer @ 2024-01-17 10:37 UTC (permalink / raw)
  To: isar-users; +Cc: Felix Moessbauer

In 21a0560 the local_isarapt task was introduced, which needs to run
before the devshell. By that, the dependencies of the devshell tasks
got updated as well. However, the do_prepare_build also needs to run
before the devshell, as otherwise the preparation logic is not
executed.

This commit re-introduces (adds) this dependency again.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta/classes/dpkg-base.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass
index 7b054d3f..95ca3db8 100644
--- a/meta/classes/dpkg-base.bbclass
+++ b/meta/classes/dpkg-base.bbclass
@@ -323,7 +323,7 @@ python do_devshell() {
     bb.build.exec_func('schroot_delete_configs', d)
 }
 
-addtask devshell after do_local_isarapt
+addtask devshell after do_local_isarapt do_prepare_build
 DEVSHELL_STARTDIR ?= "${S}"
 do_devshell[dirs] = "${DEVSHELL_STARTDIR}"
 do_devshell[nostamp] = "1"
@@ -335,7 +335,7 @@ python do_devshell_nodeps() {
 
 # devshell may be placed after do_instell_builddeps in downstream classes.
 # devshell_nodeps will always stay right after do_prepare_build.
-addtask devshell_nodeps after do_local_isarapt
+addtask devshell_nodeps after do_local_isarapt do_prepare_build
 do_devshell_nodeps[dirs] = "${DEVSHELL_STARTDIR}"
 do_devshell_nodeps[nostamp] = "1"
 do_devshell_nodeps[network] = "${TASK_USE_SUDO}"
-- 
2.39.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-23  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17 10:37 [PATCH 1/1] fix dependencies of devshell tasks Felix Moessbauer
2024-01-17 10:45 ` Jan Kiszka
2024-01-23  9:13 ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox