* [PATCH] image: Fix basehash calculation
@ 2024-11-14 13:40 Anton Mikanovich
2024-11-21 6:48 ` Uladzimir Bely
0 siblings, 1 reply; 2+ messages in thread
From: Anton Mikanovich @ 2024-11-14 13:40 UTC (permalink / raw)
To: isar-users; +Cc: Anton Mikanovich
Temporary variables like INSTALL_image_wic were created inside
anonymous function, so bitbake was unable to add them into vardeps to
calculate dependencies correctly. Add this variables manually to fix
basehash calculation.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
meta/classes/image.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 472df3cf..982523b0 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -284,6 +284,7 @@ python() {
# set per type imager dependencies
d.setVar('INSTALL_image_%s' % bt_clean, d.getVar('IMAGER_INSTALL'))
d.appendVar('INSTALL_image_%s' % bt_clean, ' ' + ' '.join(sorted(local_imager_install | local_conversion_install)))
+ d.appendVarFlag(task, 'vardeps', ' INSTALL_image_%s' % bt_clean)
d.appendVar('IMAGER_INSTALL', ' ' + ' '.join(sorted(imager_install | conversion_install)))
d.appendVar('IMAGER_BUILD_DEPS', ' ' + ' '.join(sorted(imager_build_deps)))
--
2.34.1
--
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/20241114134028.1465640-1-amikan%40ilbers.de.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] image: Fix basehash calculation
2024-11-14 13:40 [PATCH] image: Fix basehash calculation Anton Mikanovich
@ 2024-11-21 6:48 ` Uladzimir Bely
0 siblings, 0 replies; 2+ messages in thread
From: Uladzimir Bely @ 2024-11-21 6:48 UTC (permalink / raw)
To: Anton Mikanovich, isar-users
On Thu, 2024-11-14 at 15:40 +0200, Anton Mikanovich wrote:
> Temporary variables like INSTALL_image_wic were created inside
> anonymous function, so bitbake was unable to add them into vardeps to
> calculate dependencies correctly. Add this variables manually to fix
> basehash calculation.
>
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
> ---
> meta/classes/image.bbclass | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 472df3cf..982523b0 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -284,6 +284,7 @@ python() {
> # set per type imager dependencies
> d.setVar('INSTALL_image_%s' % bt_clean,
> d.getVar('IMAGER_INSTALL'))
> d.appendVar('INSTALL_image_%s' % bt_clean, ' ' + '
> '.join(sorted(local_imager_install | local_conversion_install)))
> + d.appendVarFlag(task, 'vardeps', ' INSTALL_image_%s' %
> bt_clean)
>
> d.appendVar('IMAGER_INSTALL', ' ' + '
> '.join(sorted(imager_install | conversion_install)))
> d.appendVar('IMAGER_BUILD_DEPS', ' ' + '
> '.join(sorted(imager_build_deps)))
> --
> 2.34.1
>
Applied to next.
--
Best regards,
Uladzimir.
--
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/668e31166d8f3171983e59f5a1410d563b120438.camel%40ilbers.de.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-21 6:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-14 13:40 [PATCH] image: Fix basehash calculation Anton Mikanovich
2024-11-21 6:48 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox