summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/weston-init.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/wayland/weston-init.bb')
-rw-r--r--meta/recipes-graphics/wayland/weston-init.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
index 40aa76295f..95d75556dc 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -8,7 +8,9 @@ SRC_URI = "file://init \
8 file://weston.env \ 8 file://weston.env \
9 file://weston.ini \ 9 file://weston.ini \
10 file://weston@.service \ 10 file://weston@.service \
11 file://weston@.socket \
11 file://71-weston-drm.rules \ 12 file://71-weston-drm.rules \
13 file://weston-autologin \
12 file://weston-start" 14 file://weston-start"
13 15
14S = "${WORKDIR}" 16S = "${WORKDIR}"
@@ -20,6 +22,10 @@ do_install() {
20 22
21 # Install Weston systemd service and accompanying udev rule 23 # Install Weston systemd service and accompanying udev rule
22 install -D -p -m0644 ${WORKDIR}/weston@.service ${D}${systemd_system_unitdir}/weston@.service 24 install -D -p -m0644 ${WORKDIR}/weston@.service ${D}${systemd_system_unitdir}/weston@.service
25 install -D -p -m0644 ${WORKDIR}/weston@.socket ${D}${systemd_system_unitdir}/weston@.socket
26 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then
27 install -D -p -m0644 ${WORKDIR}/weston-autologin ${D}${sysconfdir}/pam.d/weston-autologin
28 fi
23 sed -i -e s:/etc:${sysconfdir}:g \ 29 sed -i -e s:/etc:${sysconfdir}:g \
24 -e s:/usr/bin:${bindir}:g \ 30 -e s:/usr/bin:${bindir}:g \
25 -e s:/var:${localstatedir}:g \ 31 -e s:/var:${localstatedir}:g \
@@ -50,7 +56,7 @@ RDEPENDS_${PN} = "weston kbd"
50INITSCRIPT_NAME = "weston" 56INITSCRIPT_NAME = "weston"
51INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." 57INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
52 58
53FILES_${PN} += "${sysconfdir}/xdg/weston/weston.ini ${systemd_system_unitdir}/weston@.service ${sysconfdir}/default/weston" 59FILES_${PN} += "${sysconfdir}/xdg/weston/weston.ini ${systemd_system_unitdir}/weston@.service ${systemd_system_unitdir}/weston@.socket ${sysconfdir}/default/weston ${sysconfdir}/pam.d/"
54 60
55CONFFILES_${PN} += "${sysconfdir}/xdg/weston/weston.ini ${sysconfdir}/default/weston" 61CONFFILES_${PN} += "${sysconfdir}/xdg/weston/weston.ini ${sysconfdir}/default/weston"
56 62