From fa8316eb0caee94523da1648de8e776ee76ccdf4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Thu, 22 May 2014 18:15:34 +0200 Subject: [PATCH] Add file weston.target to weston MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I5c34284f3832ec79027395806df7dbc9626ae7c9 Signed-off-by: Kévin THIERRY --- recipes-graphics/wayland/weston/weston.target | 5 +++++ recipes-graphics/wayland/weston_1.4.0.bbappend | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 recipes-graphics/wayland/weston/weston.target diff --git a/recipes-graphics/wayland/weston/weston.target b/recipes-graphics/wayland/weston/weston.target new file mode 100644 index 0000000..2717047 --- /dev/null +++ b/recipes-graphics/wayland/weston/weston.target @@ -0,0 +1,5 @@ + +[Unit] +Description=Weston Compositor +Requires=dbus.socket +AllowIsolate=true diff --git a/recipes-graphics/wayland/weston_1.4.0.bbappend b/recipes-graphics/wayland/weston_1.4.0.bbappend index e495b9a..a8667cb 100644 --- a/recipes-graphics/wayland/weston_1.4.0.bbappend +++ b/recipes-graphics/wayland/weston_1.4.0.bbappend @@ -1,6 +1,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/weston" -SRC_URI += "file://0001-Update-to-1.4.0.patch \ +SRC_URI += "file://weston.target \ + file://0001-Update-to-1.4.0.patch \ file://0002-This-vfunc-lets-us-read-out-a-rectangle-of-pixels-fr.patch \ file://0003-compositor-implement-xdg_surface_set_minimized.patch \ file://0004-compositor-use-Mod-Tab-to-show-raise-minimized-surfa.patch \ @@ -12,4 +13,12 @@ SRC_URI += "file://0001-Update-to-1.4.0.patch \ file://0010-packaging-fix-obs-build.patch \ file://0011-shell-make-panel-optional-panel-false-in-weston.ini.patch \ file://0012-shell-1.4.0-Hack-to-allow-selecting-a-default-output.patch \ - file://0013-allow-to-start-weston-with-system-user.patch" + file://0013-allow-to-start-weston-with-system-user.patch \ + " + +do_install_append() { + install -d ${D}/usr/lib/systemd/user + install -m 644 ${WORKDIR}/weston.target ${D}/usr/lib/systemd/user/weston.target +} + +FILES_${PN} += " ${prefix}/lib/systemd/user/weston.target" \ No newline at end of file -- 2.7.4