X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fagl-vss-helper%2Fagl-vss-helper.bb;h=be555dab869259598adccf410ae8e057bfb771bf;hb=4ed1a0a0302cec13f12d3999466d62841c104402;hp=88e14511a4628b91b1f5a54788d3a353272eb0a5;hpb=fe2024e444f214ed6fd04c37d09c51f1c6a9e8e6;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/agl-vss-helper/agl-vss-helper.bb b/recipes-demo/agl-vss-helper/agl-vss-helper.bb index 88e14511a..be555dab8 100644 --- a/recipes-demo/agl-vss-helper/agl-vss-helper.bb +++ b/recipes-demo/agl-vss-helper/agl-vss-helper.bb @@ -8,6 +8,9 @@ SRC_URI = "file://agl-vss-helper.py \ file://agl-vss-helper.service \ " +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + inherit systemd SYSTEMD_SERVICE:${PN} = "${BPN}.service" @@ -17,11 +20,11 @@ do_compile[noexec] = "1" do_install() { install -d ${D}${sbindir} - install -m 0755 ${WORKDIR}/${BPN}.py ${D}${sbindir} + install -m 0755 ${UNPACKDIR}/${BPN}.py ${D}${sbindir} install -d ${D}${sysconfdir}/xdg/AGL/${BPN} - install -m 0644 ${WORKDIR}/${BPN}.yaml ${D}${sysconfdir}/xdg/AGL/ - install -m 0644 ${WORKDIR}/${BPN}.token ${D}${sysconfdir}/xdg/AGL/${BPN}/ - install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service + install -m 0644 ${UNPACKDIR}/${BPN}.yaml ${D}${sysconfdir}/xdg/AGL/ + install -m 0644 ${UNPACKDIR}/${BPN}.token ${D}${sysconfdir}/xdg/AGL/${BPN}/ + install -D -m 0644 ${UNPACKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service } RDEPENDS:${PN} = " \