X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-core%2Fnss%2Fnss-agl-driver-db_git.bb;h=b2fb40340e419ea672070374249dbd0ffdcf310c;hb=refs%2Fheads%2Fnext;hp=2426c4090d2efde241de4398b15ebeac80fd99e2;hpb=fdb58afacf2dff95cca48a772d653e45a1b577f3;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-core/nss/nss-agl-driver-db_git.bb b/recipes-core/nss/nss-agl-driver-db_git.bb index 2426c4090..84cb34edc 100644 --- a/recipes-core/nss/nss-agl-driver-db_git.bb +++ b/recipes-core/nss/nss-agl-driver-db_git.bb @@ -11,6 +11,9 @@ SRC_URI = "file://${BPN}.service \ file://${BPN}.sh \ " +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + inherit systemd SYSTEMD_SERVICE:${PN} = "${BPN}.service" @@ -22,11 +25,11 @@ do_install() { if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${systemd_system_unitdir} install -d ${D}${sbindir} - install -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir} - install -m 0755 ${WORKDIR}/${BPN}.sh ${D}${sbindir} + install -m 0644 ${UNPACKDIR}/${BPN}.service ${D}${systemd_system_unitdir} + install -m 0755 ${UNPACKDIR}/${BPN}.sh ${D}${sbindir} fi } FILES:${PN} += "${systemd_system_unitdir} ${sbindir}" -RDEPENDS:${PN} += "nss agl-session kuksa-val-certificates-client bash" +RDEPENDS:${PN} += "nss agl-users kuksa-val-certificates-client bash"