Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Support additional user-defined package metadata
@ 2012-05-13 13:28 Leonid Borisenko
  2012-05-13 13:28 ` [PATCH 1/2] package.bbclass: add getter of additional metadata Leonid Borisenko
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Leonid Borisenko @ 2012-05-13 13:28 UTC (permalink / raw)
  To: openembedded-core

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(+)




^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/2] allow to define additional packaging metadata
@ 2014-01-18 14:01 Martin Jansa
  2014-01-18 14:01 ` [PATCH 1/2] package.bbclass: add getter of additional metadata Martin Jansa
  0 siblings, 1 reply; 15+ messages in thread
From: Martin Jansa @ 2014-01-18 14:01 UTC (permalink / raw)
  To: openembedded-core

There is older patchset from Leonid which didn't get any response
on list, but is useful and still working.

It's good for extra packaging metadata like flag that device should
be restarted after package upgrade and it's packagemanager job to respect
them or not.

The following changes since commit 8163854adf87ac42a8f08ee25685d0ce1efb4724:

  oe-selftest: separated the SStateBase and SStateTests in different modules (2014-01-16 12:18:44 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib jansa/package-additional
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/package-additional

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(+)

-- 
1.8.5.2



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

end of thread, other threads:[~2014-01-18 14:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-13 13:28 [PATCH 0/3] Support additional user-defined package metadata Leonid Borisenko
2012-05-13 13:28 ` [PATCH 1/2] package.bbclass: add getter of additional metadata Leonid Borisenko
2012-05-13 13:28 ` [PATCH 2/2] package_{ipk, deb, rpm}.bbclass: support additional user-defined metadata Leonid Borisenko
2012-05-18 18:34 ` [PATCH 0/3] Support additional user-defined package metadata Ive Found
2012-05-28  6:40 ` [PING v2] [PATCH 0/2] " Ive Found
2012-05-28  9:44 ` [PATCH 0/3] " Phil Blundell
2012-05-28 18:46   ` Ive Found
2012-06-06  7:28 ` [PING v3] [PATCH 0/2] " Ive Found
2012-11-03 23:01   ` Sebastian Krzyszkowiak
2012-11-06 23:58     ` Otavio Salvador
2012-11-16 18:29       ` [PATCH v2 0/2] Support additional user-defined metadata Leonid Borisenko
2012-11-16 18:29         ` [PATCH v2 1/2] package.bbclass: add getter of additional metadata Leonid Borisenko
2012-11-16 18:29         ` [PATCH v2 2/2] package_{ipk, deb, rpm}.bbclass: support additional user-defined metadata Leonid Borisenko
2012-12-07 17:28         ` [PING] [PATCH v2] Support " Leonid Borisenko
  -- strict thread matches above, loose matches on Subject: below --
2014-01-18 14:01 [PATCH 0/2] allow to define additional packaging metadata Martin Jansa
2014-01-18 14:01 ` [PATCH 1/2] package.bbclass: add getter of additional metadata Martin Jansa

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