summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/xserver-nodm-init
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/xserver-nodm-init')
-rw-r--r--meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb
index d4a6b972f..17fe4d8d8 100644
--- a/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb
+++ b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb
@@ -3,7 +3,7 @@ LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
4SECTION = "x11" 4SECTION = "x11"
5 5
6PR = "r9" 6PR = "r10"
7 7
8SRC_URI = "file://xserver-nodm \ 8SRC_URI = "file://xserver-nodm \
9 file://xserver-nodm.service \ 9 file://xserver-nodm.service \
@@ -31,12 +31,10 @@ INITSCRIPT_PARAMS = "start 01 5 2 . stop 01 0 1 6 ."
31INITSCRIPT_PARAMS_shr = "start 90 5 2 . stop 90 0 1 6 ." 31INITSCRIPT_PARAMS_shr = "start 90 5 2 . stop 90 0 1 6 ."
32 32
33pkg_postinst_${PN}_append () { 33pkg_postinst_${PN}_append () {
34 # can't do this offline 34 if [ -e ${base_bindir}/systemctl ] ; then
35 if [ "x$D" != "x" ]; then 35 # can't do this offline
36 exit 1 36 [ "x$D" != "x" ] && exit 1
37 fi
38 37
39 if [ -e /bin/systemctl ] ; then
40 systemctl enable xserver-nodm.service 38 systemctl enable xserver-nodm.service
41 fi 39 fi
42} 40}