Skip to contentSkip to conversation

package ipk bbclass: store build branch and revision in ipkg metadata

PATCH In review Koen Kooi 4 participants 4 messages Dec 21, 2010

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

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

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 <[email protected]>
 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$
---
 classes/package_ipk.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
classes/package_ipk.bbclass +1 -0
index 5d388da..97e5cd8 100644
@@ -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 = []
Signature · 1 line
1.6.6.1
#1 lore raw

-----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.

Quoted 31 lines · Koen Kooi

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 <[email protected]>
 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$
---
 classes/package_ipk.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
classes/package_ipk.bbclass +0 -0
index 5d388da..97e5cd8 100644

classes/package_ipk.bbclass python do_package_ipk () { · line 230

Quoted 7 lines
classes/package_ipk.bbclass +1 -0
@@ -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-----

Acked-by
#2 lore raw
Quoted 5 lines · Koen Kooi

-----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

Quoted 53 lines · Koen Kooi
Quoted 31 lines

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 <[email protected]>
 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$
---
 classes/package_ipk.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
classes/package_ipk.bbclass +0 -0
index 5d388da..97e5cd8 100644

classes/package_ipk.bbclass python do_package_ipk () { · line 230

Quoted 7 lines
classes/package_ipk.bbclass +1 -0
@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
Acked-by
#3 lore raw
Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Jansa
Sent: Tuesday, December 21, 2010 4:30 AM
To: [email protected]
Subject: Re: [oe] [PATCH 1/2] package ipk bbclass: store build branch and revision in ipkg metadata

Quoted 3 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 6 lines
Quoted 2 lines

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

I agree. Thanks for adding this.

Quoted 69 lines
Quoted 5 lines · Koen Kooi
Quoted 3 lines

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

Quoted 7 lines
Quoted 7 lines

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

Quoted 8 lines
Quoted 8 lines

Priority: optional
Maintainer: Angstrom Developers <[email protected]>
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

Quoted 1 line
Quoted 1 line

Source:

svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymou s;pswd=''

Quoted 7 lines
Quoted 7 lines

koen@dominion:/OE/angstrom-dev/deploy/glibc$

---
 classes/package_ipk.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 9 lines

classes/package_ipk.bbclass python do_package_ipk () { · line 227

Quoted 9 lines
classes/package_ipk.bbclass +1 -0
index 5d388da..97e5cd8 100644
@@ -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']])

Quoted 13 lines

classes/package_ipk.bbclass python do_package_ipk () { · line 230

Quoted 3 lines
classes/package_ipk.bbclass +0 -0
 		def pullData(l, d):
 			l2 = []

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNEH7fMkyGM64RGpERAtfoAJ4wwHII7rXn7YG4gCKFSQd1B9SmEACeIg/Y rhw39nBhCibyooRTxx+zAZM=
=SkML
-----END PGP SIGNATURE-----

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel