[OE-core] [PATCH 0/3] Support additional user-defined package metadata

Ive Found ive.found at gmail.com
Fri May 18 18:34:24 UTC 2012


Ping. Any comments?

Btw, '[PATCH 0/3]' in subject is my accidental mistake. It shoud be
'[PATCH 0/2]'.

On Sun, May 13, 2012 at 4:28 PM, Leonid Borisenko <ive.found at gmail.com> wrote:
>
> I'm an owner of Kindle Touch. It's basically a computer with ARM
> Cortex-A8 based CPU and Linux. There is a [small] community of
> enthuasists developing homebrew modifications for stock software. For
> distributing of these modifications .ipk package format had been chosen
> with OE as build infrastructure.
>
> There are already several firmware versions for device and some more are
> expected. Every firmware can introduce unpredictable changes, so
> modifications for previous firmware versions could stop working.
>
> Custom metadata field with supported firmware version(s) could be
> included into package control file for preventing of installing packaged
> modifications onto unsupported firmware.
>
> But OE currently doesn't allow to define additional package metadata in
> recipes. Patch fixes it.
>
> There is already RPMSPEC_PREAMBLE variable used in package_rpm.bbclass.
> I think, it is still useful for defining custom macros in header of spec
> file (while additional user-defined metadata is placed somewhere between
> common tags).
>
> I didn't found any way to define newline character inside variable value
> and it is needed to allow multiple [one-line] metadata fields/tags. So
> I've used ability of OE to split list-typed variables (and re-joined
> splitted value with real newline character).
>
> The following changes since commit cab85fd0b481cdbf36477348de75352be3f38ca2:
>
>  gdk-pixbuf: Drop unneeded RPROVIDES (2012-05-12 11:23:27 +0100)
>
> up to 052d78ed7f986e76afb1ce6ef02e94ba1bbc9719:
>
>  package_{ipk, deb, rpm}.bbclass: support additional user-defined metadata (2012-05-13 14:51:26 +0300)
>
> ----------------------------------------------------------------
> Leonid Borisenko (2):
>      package.bbclass: add getter of additional metadata
>      package_{ipk, deb, rpm}.bbclass: support additional user-defined metadata
>
>  meta/classes/package.bbclass     |   11 +++++++++++
>  meta/classes/package_deb.bbclass |    5 +++++
>  meta/classes/package_ipk.bbclass |    5 +++++
>  meta/classes/package_rpm.bbclass |    7 +++++++
>  4 files changed, 28 insertions(+)
>




More information about the Openembedded-core mailing list