[oe] [PATCH 1/2] package ipk bbclass: store build branch and revision in ipkg metadata

Martin Jansa martin.jansa at gmail.com
Tue Dec 21 10:30:04 UTC 2010


On Tue, Dec 21, 2010 at 11:18:07AM +0100, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> There is no 2/2, this is the only patch in the series, I had a git
> format-patch slip up on my end.

Ah :), looks usefull to me

Acked-by: Martin Jansa <Martin.Jansa at gmail.com>

> On 21-12-10 11:06, Koen Kooi wrote:
> > The ipkg metadata will look like this now:
> > 
> > koen at dominion:/OE/angstrom-dev/deploy/glibc$ dpkg-deb -I ipk/am3517-evm/matrix-gui_1.3-r19.0.6_am3517-evm.ipk
> >  new debian package, version 2.0.
> >  size 24112 bytes: control archive= 540 bytes.
> >      629 bytes,    13 lines      control
> >  Package: matrix-gui
> >  Version: 1.3-r19.0.6
> >  Description: Matrix GUI for Qt X11
> >  Section: multimedia
> >  Priority: optional
> >  Maintainer: Angstrom Developers <angstrom-distro-devel at linuxtogo.org>
> >  License: BSD
> >  Architecture: am3517-evm
> >  OE: matrix-gui
> >  Homepage: https://gforge.ti.com/gf/project/matrix_gui/
> >  Build: org.openembedded.dev/f35ab2d
> >  Depends: matrix-gui-common, libpng12-0, libfreetype6, libz1, libgthread-2.0-0, libqtwebkit4, libphonon4, libqtdbus4, libqtxml4, libqtgui4, libqtnetwork4, libqtcore4, libglib-2.0-0, libc6, libstdc++6, libgcc1
> >  Source: svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd=''
> > koen at dominion:/OE/angstrom-dev/deploy/glibc$
> > 
> > Signed-off-by: Koen Kooi <koen at openembedded.org>
> > ---
> >  classes/package_ipk.bbclass |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass
> > index 5d388da..97e5cd8 100644
> > --- a/classes/package_ipk.bbclass
> > +++ b/classes/package_ipk.bbclass
> > @@ -224,6 +224,7 @@ python do_package_ipk () {
> >  		fields.append(["Architecture: %s\n", ['PACKAGE_ARCH']])
> >  		fields.append(["OE: %s\n", ['PN']])
> >  		fields.append(["Homepage: %s\n", ['HOMEPAGE']])
> > +		fields.append(["Build: %s/%s\n", ['METADATA_BRANCH', 'METADATA_REVISION']])
> >  
> >  		def pullData(l, d):
> >  			l2 = []
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> 
> iD8DBQFNEH7fMkyGM64RGpERAtfoAJ4wwHII7rXn7YG4gCKFSQd1B9SmEACeIg/Y
> rhw39nBhCibyooRTxx+zAZM=
> =SkML
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com




More information about the Openembedded-devel mailing list