mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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:
@@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
|
|||||||
|
|
||||||
SRC_URI = "file://android-gadget-setup"
|
SRC_URI = "file://android-gadget-setup"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${bindir}
|
install -d ${D}${bindir}
|
||||||
install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
|
install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
|
|||||||
|
|
||||||
SRC_URI = "file://android-gadget-setup"
|
SRC_URI = "file://android-gadget-setup"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171d
|
|||||||
|
|
||||||
SRC_URI = "file://inputattach.conf"
|
SRC_URI = "file://inputattach.conf"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
do_configure[noexec] = "1"
|
do_configure[noexec] = "1"
|
||||||
do_compile[noexec] = "1"
|
do_compile[noexec] = "1"
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ SRC_URI = " \
|
|||||||
file://dev-zram0.swap \
|
file://dev-zram0.swap \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
# Install systemd related configuration file
|
# Install systemd related configuration file
|
||||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
||||||
|
|||||||
@@ -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"
|
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6 \
|
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"
|
file://${COREBASE}/meta/files/common-licenses/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"
|
||||||
|
|
||||||
SRC_URI = "file://gnome-doc-utils.m4"
|
SRC_URI = "file://gnome-doc-utils.m4"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
PROVIDES = "gnome-doc-utils"
|
PROVIDES = "gnome-doc-utils"
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://${UNPACKDIR}/OFL.txt;md5=969851e3a70122069a4d9ee61dd5
|
|||||||
SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \
|
SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \
|
||||||
file://OFL.txt"
|
file://OFL.txt"
|
||||||
|
|
||||||
S = "${UNPACKDIR}/ttf-inconsolata-${PV}"
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \
|
FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \
|
||||||
${datadir}/doc/ttf-inconsolata/*"
|
${datadir}/doc/ttf-inconsolata/*"
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ SRC_URI += "\
|
|||||||
file://COPYING \
|
file://COPYING \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
DEPENDS = "libcap"
|
DEPENDS = "libcap"
|
||||||
|
|
||||||
@@ -50,7 +53,6 @@ do_configure:prepend() {
|
|||||||
cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S}
|
cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S}
|
||||||
fi
|
fi
|
||||||
cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
|
cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
|
||||||
cp -r ${UNPACKDIR}/COPYING ${S}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
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"
|
SRC_URI[sha256sum] = "87a74eb0a66055c34ba2c5c919e74f3211c5950ae1c2cbab967fdf4137f5de91"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
install -pm 644 ${UNPACKDIR}/ctapi-common.LICENSE LICENSE
|
install -pm 644 ${UNPACKDIR}/ctapi-common.LICENSE LICENSE
|
||||||
install -pm 644 ${UNPACKDIR}/ctapi-common.README README
|
install -pm 644 ${UNPACKDIR}/ctapi-common.README README
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
|
|||||||
|
|
||||||
SRC_URI = "file://usbgx.default"
|
SRC_URI = "file://usbgx.default"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/sources"
|
||||||
|
UNPACKDIR = "${S}"
|
||||||
|
|
||||||
do_configure[noexec] = "1"
|
do_configure[noexec] = "1"
|
||||||
do_compile[noexec] = "1"
|
do_compile[noexec] = "1"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user