summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandolph Sapp <rs@ti.com>2023-06-14 10:33:29 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-15 08:00:41 +0100
commit3a4a789482b71f03f37ad24625636d85b7586716 (patch)
tree0be2532ead805334393e913e16a533dea5a6b817
parent617d2303c0612b51954d06ecfe2ea491e9b82145 (diff)
downloadpoky-3a4a789482b71f03f37ad24625636d85b7586716.tar.gz
weston-init: fix the mixed indentation
I know my text editor is going to get angry at me if this continues. (From OE-Core rev: da6e01517336694911f5aea53d637e9c0ad72c9b) Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/wayland/weston-init.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
index 4fa302c833..e538469a58 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -26,19 +26,19 @@ DEFAULTBACKEND ??= ""
26DEFAULTBACKEND:qemuall ?= "drm" 26DEFAULTBACKEND:qemuall ?= "drm"
27 27
28do_install() { 28do_install() {
29 if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then 29 if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then
30 install -Dm755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston 30 install -Dm755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston
31 sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}/${sysconfdir}/init.d/weston 31 sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}/${sysconfdir}/init.d/weston
32 fi 32 fi
33 install -D -p -m0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini 33 install -D -p -m0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini
34 install -Dm644 ${WORKDIR}/weston.env ${D}${sysconfdir}/default/weston 34 install -Dm644 ${WORKDIR}/weston.env ${D}${sysconfdir}/default/weston
35 35
36 # Install Weston systemd service and accompanying udev rule 36 # Install Weston systemd service and accompanying udev rule
37 install -D -p -m0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}/weston.service 37 install -D -p -m0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}/weston.service
38 install -D -p -m0644 ${WORKDIR}/weston.socket ${D}${systemd_system_unitdir}/weston.socket 38 install -D -p -m0644 ${WORKDIR}/weston.socket ${D}${systemd_system_unitdir}/weston.socket
39 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then 39 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then
40 install -D -p -m0644 ${WORKDIR}/weston-autologin ${D}${sysconfdir}/pam.d/weston-autologin 40 install -D -p -m0644 ${WORKDIR}/weston-autologin ${D}${sysconfdir}/pam.d/weston-autologin
41 fi 41 fi
42 sed -i -e s:/etc:${sysconfdir}:g \ 42 sed -i -e s:/etc:${sysconfdir}:g \
43 -e s:/usr/bin:${bindir}:g \ 43 -e s:/usr/bin:${bindir}:g \
44 -e s:/var:${localstatedir}:g \ 44 -e s:/var:${localstatedir}:g \
@@ -47,7 +47,7 @@ do_install() {
47 install -Dm755 ${WORKDIR}/weston-start ${D}${bindir}/weston-start 47 install -Dm755 ${WORKDIR}/weston-start ${D}${bindir}/weston-start
48 sed -i 's,@DATADIR@,${datadir},g' ${D}${bindir}/weston-start 48 sed -i 's,@DATADIR@,${datadir},g' ${D}${bindir}/weston-start
49 sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start 49 sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start
50 if [ -n "${DEFAULTBACKEND}" ]; then 50 if [ -n "${DEFAULTBACKEND}" ]; then
51 sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini 51 sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini
52 fi 52 fi
53 53