public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Fix imager-buildchroot dependency
@ 2021-07-14  6:52 Anton Mikanovich
  2021-07-14  6:52 ` [PATCH v3 1/3] buildchroot: Introduce buildchroot dependency variable Anton Mikanovich
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Anton Mikanovich @ 2021-07-14  6:52 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

If using imager with ISAR_CROSS_COMPILE="1" it still depends on
buildchroot-target because of hardcoded flag value. Moreover, there were
no way to depends on buildchroot based on logic placed in python
anonymous function in buildchroot.bbclass. It forced developer to place
dependency set code inside buildchroot choose logic for any tasks like
do_apt_fetch was implemented.
To be able to set dependencies in places where they were implemented but
still take care about cross compile modes we need to put buildchroot
choose result into datastore variable and rely on it later.

Anton Mikanovich (3):
  buildchroot: Introduce buildchroot dependency variable
  buildchroot: Move apt_fetch dependency to dpkg-base
  image: Fix do_install_imager_deps dependency

 meta/classes/buildchroot.bbclass           | 4 ++--
 meta/classes/dpkg-base.bbclass             | 3 +++
 meta/classes/image-tools-extension.bbclass | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-07-29  7:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14  6:52 [PATCH v3 0/3] Fix imager-buildchroot dependency Anton Mikanovich
2021-07-14  6:52 ` [PATCH v3 1/3] buildchroot: Introduce buildchroot dependency variable Anton Mikanovich
2021-07-14  6:52 ` [PATCH v3 2/3] buildchroot: Move apt_fetch dependency to dpkg-base Anton Mikanovich
2021-07-14  6:52 ` [PATCH v3 3/3] image: Fix do_install_imager_deps dependency Anton Mikanovich
2021-07-26 15:06 ` [PATCH v3 0/3] Fix imager-buildchroot dependency Anton Mikanovich
2021-07-29  7:58   ` Anton Mikanovich

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