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=c32ba71d27e468ac50351f0e07df5cb088316a9e;hpb=11323fa1ed396e3e16f4df327911bc9c60cc6e01;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 c32ba71d2..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-client-certificates bash" +RDEPENDS:${PN} += "nss agl-users kuksa-val-certificates-client bash"