* [PATCH] testlab: drop PE: from package version when looking for package filename
@ 2011-04-20 13:26 Martin Jansa
2011-04-20 16:19 ` Koen Kooi
0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2011-04-20 13:26 UTC (permalink / raw)
To: openembedded-devel
* reported by Otavio Salvador
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
classes/testlab.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/testlab.bbclass b/classes/testlab.bbclass
index 6581ec3..a6033ce 100644
--- a/classes/testlab.bbclass
+++ b/classes/testlab.bbclass
@@ -36,7 +36,7 @@ if [ -e ${IMAGE_ROOTFS}/etc/opkg ] && [ "${ONLINE_PACKAGE_MANAGEMENT}" = "full"
echo -e "digraph depends {\n node [shape=plaintext]" > ${TESTLAB_DIR}/depends.dot
for pkg in $(opkg-cl ${IPKG_ARGS} list_installed | awk '{print $1}') ; do
- opkg-cl ${IPKG_ARGS} info $pkg | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" | awk '/^Package/ {printf $2"_"} /^Version/ {printf $2"_"} /^Archi/ {print $2".ipk"}' >> ${TESTLAB_DIR}/installed-packages.txt
+ opkg-cl ${IPKG_ARGS} info $pkg | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" | awk '/^Package/ {printf $2"_"} /^Version/ {sub(/.*:/,"", $2); printf $2"_"} /^Archi/ {print $2".ipk"}' >> ${TESTLAB_DIR}/installed-packages.txt
for depends in $(opkg-cl ${IPKG_ARGS} info $pkg | grep ^Depends) ; do
echo "$pkg OPP $depends;" | grep -v "(" | grep -v ")" | grep -v "$pkg OPP Depends" | sed -e 's:,::g' -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' |sed 's:OPP:->:g' >> ${TESTLAB_DIR}/depends.dot
--
1.7.5.rc1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] testlab: drop PE: from package version when looking for package filename
2011-04-20 13:26 [PATCH] testlab: drop PE: from package version when looking for package filename Martin Jansa
@ 2011-04-20 16:19 ` Koen Kooi
0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2011-04-20 16:19 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 20-04-11 15:26, Martin Jansa wrote:
> * reported by Otavio Salvador
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> classes/testlab.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/classes/testlab.bbclass b/classes/testlab.bbclass
> index 6581ec3..a6033ce 100644
> --- a/classes/testlab.bbclass
> +++ b/classes/testlab.bbclass
> @@ -36,7 +36,7 @@ if [ -e ${IMAGE_ROOTFS}/etc/opkg ] && [ "${ONLINE_PACKAGE_MANAGEMENT}" = "full"
> echo -e "digraph depends {\n node [shape=plaintext]" > ${TESTLAB_DIR}/depends.dot
>
> for pkg in $(opkg-cl ${IPKG_ARGS} list_installed | awk '{print $1}') ; do
> - opkg-cl ${IPKG_ARGS} info $pkg | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" | awk '/^Package/ {printf $2"_"} /^Version/ {printf $2"_"} /^Archi/ {print $2".ipk"}' >> ${TESTLAB_DIR}/installed-packages.txt
> + opkg-cl ${IPKG_ARGS} info $pkg | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" | awk '/^Package/ {printf $2"_"} /^Version/ {sub(/.*:/,"", $2); printf $2"_"} /^Archi/ {print $2".ipk"}' >> ${TESTLAB_DIR}/installed-packages.txt
>
> for depends in $(opkg-cl ${IPKG_ARGS} info $pkg | grep ^Depends) ; do
> echo "$pkg OPP $depends;" | grep -v "(" | grep -v ")" | grep -v "$pkg OPP Depends" | sed -e 's:,::g' -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' |sed 's:OPP:->:g' >> ${TESTLAB_DIR}/depends.dot
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNrwefMkyGM64RGpERAvH3AKC1yhxHHyy9sqWt4AiYtSB9TzFY/gCfchu5
a/SeS7LWBOGRjLOeyFN+rNs=
=uIQJ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-20 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-20 13:26 [PATCH] testlab: drop PE: from package version when looking for package filename Martin Jansa
2011-04-20 16:19 ` Koen Kooi
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.