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 <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
alperak 2024-06-21 13:02:44 +03:00 committed by Khem Raj
parent 5e67523867
commit d1a5739b34
No known key found for this signature in database
GPG Key ID: BB053355919D3314
9 changed files with 27 additions and 2 deletions

View File

@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
SRC_URI = "file://android-gadget-setup"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}

View File

@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
SRC_URI = "file://android-gadget-setup"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
do_install() {

View File

@ -4,6 +4,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171d
SRC_URI = "file://inputattach.conf"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
do_configure[noexec] = "1"
do_compile[noexec] = "1"

View File

@ -17,6 +17,9 @@ SRC_URI = " \
file://dev-zram0.swap \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
do_install () {
# Install systemd related configuration file
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then

View File

@ -5,8 +5,12 @@ it requires libxml2 and python 2 at the same time, which can no longer be satisf
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6 \
file://${COREBASE}/meta/files/common-licenses/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"
SRC_URI = "file://gnome-doc-utils.m4"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
PROVIDES = "gnome-doc-utils"
do_install:append() {

View File

@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://${UNPACKDIR}/OFL.txt;md5=969851e3a70122069a4d9ee61dd5
SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \
file://OFL.txt"
S = "${UNPACKDIR}/ttf-inconsolata-${PV}"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \
${datadir}/doc/ttf-inconsolata/*"

View File

@ -20,6 +20,9 @@ SRC_URI += "\
file://COPYING \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "libcap"
@ -50,7 +53,6 @@ do_configure:prepend() {
cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S}
fi
cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
cp -r ${UNPACKDIR}/COPYING ${S}
}

View File

@ -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

View File

@ -4,6 +4,9 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
SRC_URI = "file://usbgx.default"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
do_configure[noexec] = "1"
do_compile[noexec] = "1"