X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-graphics%2Fwayland%2Fweston-agl-driver-conf.bb;h=29f65ccc296c4b8b8c87c302cdadd516d94a571a;hb=4ed1a0a0302cec13f12d3999466d62841c104402;hp=763103d454e5b755524fbd9986eee94a16af6f78;hpb=fe2024e444f214ed6fd04c37d09c51f1c6a9e8e6;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-graphics/wayland/weston-agl-driver-conf.bb b/recipes-graphics/wayland/weston-agl-driver-conf.bb index 763103d45..29f65ccc2 100644 --- a/recipes-graphics/wayland/weston-agl-driver-conf.bb +++ b/recipes-graphics/wayland/weston-agl-driver-conf.bb @@ -2,19 +2,22 @@ SUMMARY = "Weston systemd configuration to run as agl-driver user" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +SRC_URI = "file://weston-agl-driver.conf" + +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + inherit systemd allarch features_check REQUIRED_DISTRO_FEATURES = "wayland systemd" -SRC_URI = "file://weston-agl-driver.conf" - do_configure[noexec] = "1" do_compile[noexec] = "1" do_install() { # Install override drop-in install -d ${D}${systemd_system_unitdir}/weston.service.d - install -m 0644 ${WORKDIR}/weston-agl-driver.conf ${D}${systemd_system_unitdir}/weston.service.d/ + install -m 0644 ${UNPACKDIR}/weston-agl-driver.conf ${D}${systemd_system_unitdir}/weston.service.d/ } FILES:${PN} += "${systemd_system_unitdir}"