From: Denys Dmytriyenko <denis@denix.org>
To: Ryan Eatmon <reatmon@ti.com>
Cc: Praneeth Bajjuri <praneeth@ti.com>, meta-ti@lists.yoctoproject.org
Subject: Re: [meta-ti][master/kirkstone][PATCH] conf: change from do_image_wic/tar to do_image
Date: Mon, 12 Dec 2022 16:34:57 -0500 [thread overview]
Message-ID: <20221212213457.GH22689@denix.org> (raw)
In-Reply-To: <e318a600-c9f5-7969-d809-0748eaa786c7@ti.com>
On Mon, Dec 12, 2022 at 01:24:29PM -0600, Ryan Eatmon wrote:
>
>
> On 12/12/2022 12:15, Denys Dmytriyenko wrote:
> >On Sun, Dec 11, 2022 at 01:02:40PM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
> >>When trying to support OpenBMC we found that our use of do_image_wic
> >>and do_image_tar for adding depends and mcdepends was too limiting.
> >>Moving to do_image is a higher level in the tree that means for any
> >>image type the dependencies will be correct.
> >
> >There might be some unexpected side effects, since do_image is too broard. Not
> >every image has a boot partition and should depend on the corresponding boot
> >files being deployed. Things like ramdisks, initramfs and such have different
> >flows and own dependencies. Also images that include other images, like guests
> >for VMs or hypervisors or even bootstrapping. All those could potentially have
> >issues due to a global do_image dependency - I've seen circular dependency
> >breakages in the past in those areas. Not all use cases are being tested by
> >default, so not easy to tell if this change is compltetely harmless...
>
> I was worried something like that might be true. But how are we
> supposed to know which images (present and future) that we need to
> add dependencies for in this case?
Yeah, that's a very good question. My thinking back then was that usually we
only want "wic" format for a bootable whole-system images, hence I limited
the dependency to do_image_wic (and the tar version was a by-product). Maybe
your change is not as dangerous as I was imagining :) - definitely needs more
thorough testing. Or we can come up with a completely different way of
specifying those dependencies?
--
Denys
next prev parent reply other threads:[~2022-12-12 21:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-11 19:02 [meta-ti][master/kirkstone][PATCH] conf: change from do_image_wic/tar to do_image Ryan Eatmon
2022-12-12 18:15 ` Denys Dmytriyenko
2022-12-12 19:24 ` Ryan Eatmon
2022-12-12 21:34 ` Denys Dmytriyenko [this message]
[not found] ` <17302955CCC60FDA.9432@lists.yoctoproject.org>
2022-12-20 22:26 ` Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221212213457.GH22689@denix.org \
--to=denis@denix.org \
--cc=meta-ti@lists.yoctoproject.org \
--cc=praneeth@ti.com \
--cc=reatmon@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.