All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <koen.kooi@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Koen Kooi <koen@openembedded.org>
Subject: [PATCH 1/2] package ipk bbclass: store build branch and revision in ipkg metadata
Date: Tue, 21 Dec 2010 11:06:06 +0100	[thread overview]
Message-ID: <1292925966-65237-1-git-send-email-koen@openembedded.org> (raw)

The ipkg metadata will look like this now:

koen@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@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@dominion:/OE/angstrom-dev/deploy/glibc$

Signed-off-by: Koen Kooi <koen@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 = []
-- 
1.6.6.1




             reply	other threads:[~2010-12-21 10:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-21 10:06 Koen Kooi [this message]
2010-12-21 10:18 ` [PATCH 1/2] package ipk bbclass: store build branch and revision in ipkg metadata Koen Kooi
2010-12-21 10:30   ` Martin Jansa
2010-12-21 13:22     ` Maupin, Chase

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1292925966-65237-1-git-send-email-koen@openembedded.org \
    --to=koen.kooi@gmail.com \
    --cc=koen@openembedded.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.