summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-12-06 08:41:58 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-12-06 08:41:58 +0100
commit084fc20cd5377827a7f5a16e5f7179b89fd26886 (patch)
tree3e9ddfcc415291d5d56df65abed0ab61e2165a02 /meta-oe/classes
parenta3aea9e69ab69dd4b5ac2ad4a602b74f9ef30fa2 (diff)
downloadmeta-openembedded-084fc20cd5377827a7f5a16e5f7179b89fd26886.tar.gz
testlab: only use basename for license info to avoid diff churn
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/testlab.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/classes/testlab.bbclass b/meta-oe/classes/testlab.bbclass
index b26e2a13c..c097e9e65 100644
--- a/meta-oe/classes/testlab.bbclass
+++ b/meta-oe/classes/testlab.bbclass
@@ -69,7 +69,7 @@ if [ -e ${IMAGE_ROOTFS}/etc/opkg ] && [ "${ONLINE_PACKAGE_MANAGEMENT}" = "full"
69 done | grep "\.ipk" | sed -e s:${DEPLOY_DIR_IPK}::g | sort -n -r | awk '{print $1 "\tKiB " $2}' > ${TESTLAB_DIR}/installed-package-sizes.txt 69 done | grep "\.ipk" | sed -e s:${DEPLOY_DIR_IPK}::g | sort -n -r | awk '{print $1 "\tKiB " $2}' > ${TESTLAB_DIR}/installed-package-sizes.txt
70 70
71 for file in $(cat ${TESTLAB_DIR}/installed-packages.txt) ; do 71 for file in $(cat ${TESTLAB_DIR}/installed-packages.txt) ; do
72 echo "`find ${DEPLOY_DIR_IPK} -name "$file" | xargs opkg-list-fields | grep ^License | sed -e 's/^.*:[ \t]*//g'`" '=' $file 72 echo "`find ${DEPLOY_DIR_IPK} -name "$file" | xargs opkg-list-fields | grep ^License | sed -e 's/^.*:[ \t]*//g'`" '=' $(echo $file | awk -F_ '{print $1}')
73 done | awk -F= '{printf("%50s:%s\n", $1, $2)}' > ${TESTLAB_DIR}/installed-package-licenses.txt 73 done | awk -F= '{printf("%50s:%s\n", $1, $2)}' > ${TESTLAB_DIR}/installed-package-licenses.txt
74 # Log results to a git controlled directory structure than can be pushed to a remote location 74 # Log results to a git controlled directory structure than can be pushed to a remote location
75 if [ "${TESTLABLOG}" = "remote" ] && [ -n "${TESTLABREMOTEDIR}" ] ; then 75 if [ "${TESTLABLOG}" = "remote" ] && [ -n "${TESTLABREMOTEDIR}" ] ; then