Openembedded Core Discussions
 help / color / mirror / Atom feed
* Passing additional data from packages to be used during image creation
@ 2017-01-19  9:16 Pascal Bach
  2017-01-19  9:16 ` [PATCH] package.bbclass: allow additional variables to be added to pkgdata Pascal Bach
  2017-01-21 11:44 ` Passing additional data from packages to be used during image creation Richard Purdie
  0 siblings, 2 replies; 4+ messages in thread
From: Pascal Bach @ 2017-01-19  9:16 UTC (permalink / raw)
  To: openembedded-core

I would like to pass some additional data generated during the creation of a package to the image creation step.
The idea is to use this data to generate a more detailed manifest of what is included in the image. In the concrete case
I would like to pass a list of required copyright files that need to be checked for during image creation.

My current approach is to add this list as a new variable COPYRIGHTS to the pkgdata of each package.
Using the image manifest to determine the package this allows me to compile a list of all required copyrights.

The following patch allows to add extra variables to pkgdata and thus allows to pass additional data

- [PATCH] package.bbclass: allow additional variables to be added to

Is this a valid approach or did a miss a simpler way to access any package data during image creation?

Pascal


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

end of thread, other threads:[~2017-01-24  9:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-19  9:16 Passing additional data from packages to be used during image creation Pascal Bach
2017-01-19  9:16 ` [PATCH] package.bbclass: allow additional variables to be added to pkgdata Pascal Bach
2017-01-21 11:44 ` Passing additional data from packages to be used during image creation Richard Purdie
2017-01-24  9:12   ` Pascal Bach

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