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: Tue, 20 Dec 2022 17:26:39 -0500 [thread overview]
Message-ID: <20221220222639.GZ22689@denix.org> (raw)
In-Reply-To: <17302955CCC60FDA.9432@lists.yoctoproject.org>
On Mon, Dec 12, 2022 at 04:34:57PM -0500, Denys Dmytriyenko wrote:
> 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?
Ryan,
After some digging and experimenting locally, I believe we can move towards
using do_image_complete[mcdepends] for the required dependencies. It's further
down the chain from do_image and before do_image_wic, so should be a bit safer
in my opinion... I've done few builds with this change, but would you be able
to run it through the full set of builds on the farm? Thanks.
--
Denys
prev parent reply other threads:[~2022-12-20 22:26 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
[not found] ` <17302955CCC60FDA.9432@lists.yoctoproject.org>
2022-12-20 22:26 ` Denys Dmytriyenko [this message]
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=20221220222639.GZ22689@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.