Re: [Toaster] [PATCH] toaster: handle changes to "ImagePkgList" event

Richard Purdie <[email protected]>
Newsgroups org.yoctoproject.lists.toaster
Message-ID <5add1e9d2e60b63604014c0db6b7ecf64d9b1d69.camel@linuxfoundation.org>
On Fri, 2022-03-18 at 03:43 -0700, Reyna, David wrote:
> From: David Reyna <[email protected]>
> 
> There are several changes to the "ImagePkgList" content to work around:
> 1) The key field for the package size ('PKGSIZE') is currently an empty string
> 2) The list of files changed from 'FILES_INFO' to 'FILES'
> 3) The 'FILES' is now a dictionary in string form
> 4) Not all fields are always present for all packages, for example 'LICENSE' and 'SUMMARY'
> 
> [YOCTO #14763]
> 
> Signed-off-by: David Reyna <[email protected]>

I'm not sure this looks entirely correct to me. FILES is the pre expanded
version of the files list so it could contain wildcards and FILES_INFO was meant
to be the version where the list of files was expanded out (and may have also
been tweaked by other package processing, e.g. creation of debug files).

I think the fact that some values are "disappearing" is a sign the overrides
change has some impact here which needs to be fixed and this patch is just
partially working around it.

Cheers,

Richard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.