public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] essential: Update dependency to account for recipe-local isar-apt copy
@ 2025-02-09  9:20 'Jan Kiszka' via isar-users
  2025-02-18  6:47 ` Uladzimir Bely
  0 siblings, 1 reply; 2+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-02-09  9:20 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich, Schmidt, Adriaan

From: Jan Kiszka <jan.kiszka@siemens.com>

We need the self-built deb already for do_local_isarapt, or we will
cache a stale version of isar-apt.

Fixes: 21a05608d85b ("dpkg-base: Copy isar_apt to workdir in separate task")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/classes/essential.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/essential.bbclass b/meta/classes/essential.bbclass
index 2ae31b38..1ac5bc1f 100644
--- a/meta/classes/essential.bbclass
+++ b/meta/classes/essential.bbclass
@@ -33,8 +33,8 @@ python() {
 
     # add dependencies to all packages from the essential list
     for p in essential_packages:
-        if d.getVar('do_prepare_build'):
-            d.appendVarFlag('do_prepare_build', 'depends', f' {p}:do_deploy_deb')
+        if d.getVar('do_local_isarapt'):
+            d.appendVarFlag('do_local_isarapt', 'depends', f' {p}:do_deploy_deb')
         if d.getVar('do_install_rootfs'):
             d.appendVarFlag('do_install_rootfs', 'depends', f' {p}:do_deploy_deb')
 }
-- 
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/538ec475-a06d-49ee-95bf-80d1685e3d5f%40siemens.com.

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

end of thread, other threads:[~2025-02-18  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-09  9:20 [PATCH] essential: Update dependency to account for recipe-local isar-apt copy 'Jan Kiszka' via isar-users
2025-02-18  6:47 ` Uladzimir Bely

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