testlab bbclass: disable package graphs when ONLINE_PACKAGE_MANAGEMENT != full
authorKoen Kooi <koen@openembedded.org>
Sat, 18 Apr 2009 12:52:56 +0000 (14:52 +0200)
committerKoen Kooi <koen@openembedded.org>
Sat, 18 Apr 2009 12:52:56 +0000 (14:52 +0200)
classes/testlab.bbclass

index bb47ee8..fc923c5 100644 (file)
@@ -22,7 +22,7 @@
 # Needs 'dot', 'opkg-cl'
 
 do_testlab() {
-if [ -e  ${IMAGE_ROOTFS}/etc/opkg ] ; then
+if [ -e  ${IMAGE_ROOTFS}/etc/opkg ] && [ "${ONLINE_PACKAGE_MANAGEMENT}" = "full" ] ; then
 
        TESTLAB_DIR="${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-testlab"
         mkdir -p ${TESTLAB_DIR}/