summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-02-17 12:38:09 +0100
committerStefan Agner <stefan.agner@toradex.com>2015-02-17 13:29:39 +0100
commit4c35bb1cd6a64c40e5ca8b7426dd2cd41467ab67 (patch)
tree8e07c892bfbbd3700880afe4ce35ff26d8c38a9e /recipes
parentb18ffd625bd35b49d09a6541bd1decc9853c1f7f (diff)
qt-demo-init: converted to systemd service
Convert qt-demo-init to a systemd service. The service will only start when the systemd target is set to graphical, hence also set the new default target of the qt4e-demo-image to graphical.
Diffstat (limited to 'recipes')
-rw-r--r--recipes/images/qt4e-demo-image.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/images/qt4e-demo-image.bb b/recipes/images/qt4e-demo-image.bb
index ffc75bb..bc35d8e 100644
--- a/recipes/images/qt4e-demo-image.bb
+++ b/recipes/images/qt4e-demo-image.bb
@@ -11,6 +11,9 @@ IMAGE_NAME_colibri-pxa = "Colibri_PXA_LinuxImage-qte"
IMAGE_NAME_colibri-vf = "Colibri_VF_LinuxImage-qte"
IMAGE_NAME = "${MACHINE}_LinuxImage-qte"
+#start graphical target by default (start new qt-demo-init systemd service)
+SYSTEMD_DEFAULT_TARGET = "graphical.target"
+
#create the deployment directory-tree
require recipes/images/trdx-image-fstype.inc