diff options
Diffstat (limited to 'classes/deploy-conf.bbclass')
-rw-r--r-- | classes/deploy-conf.bbclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/classes/deploy-conf.bbclass b/classes/deploy-conf.bbclass index 228b1e20..22c6ef7d 100644 --- a/classes/deploy-conf.bbclass +++ b/classes/deploy-conf.bbclass @@ -29,15 +29,19 @@ inherit image_types +IMAGE_DEPENDS_conf = "qtbase-native" + DEPLOY_CONF_NAME ?= "${MACHINE}" DEPLOY_CONF_TYPE ?= "Boot2Qt" IMAGE_CMD_conf() { + QT_VERSION=$(qmake -query QT_VERSION) cat > ${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.conf <<EOF -[${DEPLOY_CONF_TYPE} | ${DEPLOY_CONF_NAME}] +[${DEPLOY_CONF_NAME}] platform=${MACHINE} +product=${DEPLOY_CONF_TYPE} +qt=Qt $QT_VERSION os=linux -board= imagefile=${IMAGE_LINK_NAME}.img asroot=true EOF |