summaryrefslogtreecommitdiffstats
path: root/classes/deploy-conf.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/deploy-conf.bbclass')
-rw-r--r--classes/deploy-conf.bbclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/classes/deploy-conf.bbclass b/classes/deploy-conf.bbclass
index 228b1e2..22c6ef7 100644
--- a/classes/deploy-conf.bbclass
+++ b/classes/deploy-conf.bbclass
@@ -29,15 +29,19 @@
29 29
30inherit image_types 30inherit image_types
31 31
32IMAGE_DEPENDS_conf = "qtbase-native"
33
32DEPLOY_CONF_NAME ?= "${MACHINE}" 34DEPLOY_CONF_NAME ?= "${MACHINE}"
33DEPLOY_CONF_TYPE ?= "Boot2Qt" 35DEPLOY_CONF_TYPE ?= "Boot2Qt"
34 36
35IMAGE_CMD_conf() { 37IMAGE_CMD_conf() {
38 QT_VERSION=$(qmake -query QT_VERSION)
36 cat > ${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.conf <<EOF 39 cat > ${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.conf <<EOF
37[${DEPLOY_CONF_TYPE} | ${DEPLOY_CONF_NAME}] 40[${DEPLOY_CONF_NAME}]
38platform=${MACHINE} 41platform=${MACHINE}
42product=${DEPLOY_CONF_TYPE}
43qt=Qt $QT_VERSION
39os=linux 44os=linux
40board=
41imagefile=${IMAGE_LINK_NAME}.img 45imagefile=${IMAGE_LINK_NAME}.img
42asroot=true 46asroot=true
43EOF 47EOF