diff options
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/wayland/weston-init.bb | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb index fecf926fb3..e02da0c358 100644 --- a/meta/recipes-graphics/wayland/weston-init.bb +++ b/meta/recipes-graphics/wayland/weston-init.bb | |||
@@ -44,7 +44,7 @@ do_install() { | |||
44 | sed -i -e s:/etc:${sysconfdir}:g \ | 44 | sed -i -e s:/etc:${sysconfdir}:g \ |
45 | -e s:/usr/bin:${bindir}:g \ | 45 | -e s:/usr/bin:${bindir}:g \ |
46 | -e s:/var:${localstatedir}:g \ | 46 | -e s:/var:${localstatedir}:g \ |
47 | ${D}${systemd_unitdir}/system/weston.service | 47 | ${D}${systemd_system_unitdir}/weston.service |
48 | # Install weston-start script | 48 | # Install weston-start script |
49 | install -Dm755 ${WORKDIR}/weston-start ${D}${bindir}/weston-start | 49 | install -Dm755 ${WORKDIR}/weston-start ${D}${bindir}/weston-start |
50 | sed -i 's,@DATADIR@,${datadir},g' ${D}${bindir}/weston-start | 50 | sed -i 's,@DATADIR@,${datadir},g' ${D}${bindir}/weston-start |
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb b/meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb index 3f20ad4fc7..573ab7b93d 100644 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb | |||
@@ -52,9 +52,9 @@ do_install() { | |||
52 | sed -i "s:@NO_CURSOR_ARG@:${NO_CURSOR_ARG}:" ${D}${sysconfdir}/default/xserver-nodm | 52 | sed -i "s:@NO_CURSOR_ARG@:${NO_CURSOR_ARG}:" ${D}${sysconfdir}/default/xserver-nodm |
53 | 53 | ||
54 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 54 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
55 | install -d ${D}${systemd_unitdir}/system | 55 | install -d ${D}${systemd_system_unitdir} |
56 | install -m 0644 ${WORKDIR}/xserver-nodm.service.in ${D}${systemd_unitdir}/system/xserver-nodm.service | 56 | install -m 0644 ${WORKDIR}/xserver-nodm.service.in ${D}${systemd_system_unitdir}/xserver-nodm.service |
57 | sed -i "s:@USER@:${XUSER}:" ${D}${systemd_unitdir}/system/xserver-nodm.service | 57 | sed -i "s:@USER@:${XUSER}:" ${D}${systemd_system_unitdir}/xserver-nodm.service |
58 | fi | 58 | fi |
59 | 59 | ||
60 | if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then | 60 | if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then |