From 4ed1a0a0302cec13f12d3999466d62841c104402 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 23 May 2024 10:21:50 -0400 Subject: Update recipes for transition to UNPACKDIR Update recipes to handle the transition to using UNPACKDIR as the destination for unpacked files. For recipes that had been using S = WORKDIR, the approach used in meta-openembedded has been followed, i.e. using UNPACKDIR in tasks for consistency. Bug-AGL: SPEC-5147 Change-Id: I42b2b474be163c66e11a449de6eec7d748e00fbb Signed-off-by: Scott Murray --- recipes-core/nss/nss-agl-driver-db_git.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'recipes-core/nss') diff --git a/recipes-core/nss/nss-agl-driver-db_git.bb b/recipes-core/nss/nss-agl-driver-db_git.bb index b2fb4034..84cb34ed 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,8 +25,8 @@ 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 } -- cgit 1.2.3-korg