From d1a5739b34834ffde2a15bd69c9df2ed1ae96ab1 Mon Sep 17 00:00:00 2001 From: alperak Date: Fri, 21 Jun 2024 13:02:44 +0300 Subject: recipes: set S to fix the QA warning Fix the warning by pointing S to ${WORKDIR}/sources and UNPACKDIR to ${S}. Since recent UNPACKDIR work, default S directory is not created anymore. By setting UNPACKDIR to S, S in indirectly created in do_unpack. Signed-off-by: alperak Signed-off-by: Khem Raj --- meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb') diff --git a/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb b/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb index 90db08544..ece30a598 100644 --- a/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb +++ b/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb @@ -8,6 +8,9 @@ SRC_URI = "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/ https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.README" SRC_URI[sha256sum] = "87a74eb0a66055c34ba2c5c919e74f3211c5950ae1c2cbab967fdf4137f5de91" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + do_compile() { install -pm 644 ${UNPACKDIR}/ctapi-common.LICENSE LICENSE install -pm 644 ${UNPACKDIR}/ctapi-common.README README -- cgit v1.2.3-54-g00ecf