aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2011-04-20 21:26:17 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2011-04-20 18:38:28 +0200
commit284ae563ef382f0aa37e86a145acd15b7a9c95d3 (patch)
treeb98a9f81f1ad6750d878ebe11eebd537e1ec2ac2 /classes
parentf1d5702637a62a3525ee6d9ad9305e16929c297c (diff)
downloadopenembedded-284ae563ef382f0aa37e86a145acd15b7a9c95d3.tar.gz
testlab: drop PE: from package version when looking for package filename
* reported by Otavio Salvador Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'classes')
-rw-r--r--classes/testlab.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/testlab.bbclass b/classes/testlab.bbclass
index 6581ec391c..a6033ce48e 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