diff options
| author | Randolph Sapp <rs@ti.com> | 2023-06-14 10:33:29 -0500 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-07-04 05:32:29 -1000 |
| commit | 916b3ccee1c041f2d31ea2cc436ff01ed4a4b177 (patch) | |
| tree | 5b07aac5f0051f72aa7a2b9cfdd244d0d76faab2 /meta | |
| parent | a3ff30cf6b3760a250e0b38604f4082a026028e3 (diff) | |
| download | poky-916b3ccee1c041f2d31ea2cc436ff01ed4a4b177.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: 24fd8549273c08693078afe17a539e461a898deb)
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da6e01517336694911f5aea53d637e9c0ad72c9b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-graphics/wayland/weston-init.bb | 10 |
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 73a20a7194..6d1bf7a698 100644 --- a/meta/recipes-graphics/wayland/weston-init.bb +++ b/meta/recipes-graphics/wayland/weston-init.bb | |||
| @@ -25,19 +25,19 @@ DEFAULTBACKEND ??= "" | |||
| 25 | DEFAULTBACKEND:qemuall ?= "drm" | 25 | DEFAULTBACKEND:qemuall ?= "drm" |
| 26 | 26 | ||
| 27 | do_install() { | 27 | do_install() { |
| 28 | if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then | 28 | if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then |
| 29 | install -Dm755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston | 29 | install -Dm755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston |
| 30 | sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}/${sysconfdir}/init.d/weston | 30 | sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}/${sysconfdir}/init.d/weston |
| 31 | fi | 31 | fi |
| 32 | install -D -p -m0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini | 32 | install -D -p -m0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini |
| 33 | install -Dm644 ${WORKDIR}/weston.env ${D}${sysconfdir}/default/weston | 33 | install -Dm644 ${WORKDIR}/weston.env ${D}${sysconfdir}/default/weston |
| 34 | 34 | ||
| 35 | # Install Weston systemd service and accompanying udev rule | 35 | # Install Weston systemd service and accompanying udev rule |
| 36 | install -D -p -m0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}/weston.service | 36 | install -D -p -m0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}/weston.service |
| 37 | install -D -p -m0644 ${WORKDIR}/weston.socket ${D}${systemd_system_unitdir}/weston.socket | 37 | install -D -p -m0644 ${WORKDIR}/weston.socket ${D}${systemd_system_unitdir}/weston.socket |
| 38 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then | 38 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then |
| 39 | install -D -p -m0644 ${WORKDIR}/weston-autologin ${D}${sysconfdir}/pam.d/weston-autologin | 39 | install -D -p -m0644 ${WORKDIR}/weston-autologin ${D}${sysconfdir}/pam.d/weston-autologin |
| 40 | fi | 40 | fi |
| 41 | sed -i -e s:/etc:${sysconfdir}:g \ | 41 | sed -i -e s:/etc:${sysconfdir}:g \ |
| 42 | -e s:/usr/bin:${bindir}:g \ | 42 | -e s:/usr/bin:${bindir}:g \ |
| 43 | -e s:/var:${localstatedir}:g \ | 43 | -e s:/var:${localstatedir}:g \ |
| @@ -46,7 +46,7 @@ do_install() { | |||
| 46 | install -Dm755 ${WORKDIR}/weston-start ${D}${bindir}/weston-start | 46 | install -Dm755 ${WORKDIR}/weston-start ${D}${bindir}/weston-start |
| 47 | sed -i 's,@DATADIR@,${datadir},g' ${D}${bindir}/weston-start | 47 | sed -i 's,@DATADIR@,${datadir},g' ${D}${bindir}/weston-start |
| 48 | sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start | 48 | sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start |
| 49 | if [ -n "${DEFAULTBACKEND}" ]; then | 49 | if [ -n "${DEFAULTBACKEND}" ]; then |
| 50 | sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini | 50 | sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini |
| 51 | fi | 51 | fi |
| 52 | 52 | ||
