summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended
diff options
context:
space:
mode:
authoralperak <alperyasinak1@gmail.com>2024-06-21 13:02:44 +0300
committerKhem Raj <raj.khem@gmail.com>2024-06-21 21:45:10 -0700
commitd1a5739b34834ffde2a15bd69c9df2ed1ae96ab1 (patch)
tree3fd279b58e408deb10f18541c9a1af7af5859c6a /meta-oe/recipes-extended
parent5e675238676356d91770e5649c1df9b8cce9c64b (diff)
downloadmeta-openembedded-d1a5739b34834ffde2a15bd69c9df2ed1ae96ab1.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r--meta-oe/recipes-extended/inputattach-config/inputattach-config.bb3
-rw-r--r--meta-oe/recipes-extended/zram/zram_0.2.bb3
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb b/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
index fb1aefad61..9bb2e2f1f3 100644
--- a/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
+++ b/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
@@ -4,6 +4,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171d
4 4
5SRC_URI = "file://inputattach.conf" 5SRC_URI = "file://inputattach.conf"
6 6
7S = "${WORKDIR}/sources"
8UNPACKDIR = "${S}"
9
7do_configure[noexec] = "1" 10do_configure[noexec] = "1"
8do_compile[noexec] = "1" 11do_compile[noexec] = "1"
9 12
diff --git a/meta-oe/recipes-extended/zram/zram_0.2.bb b/meta-oe/recipes-extended/zram/zram_0.2.bb
index 800dd6b7c4..89292118d0 100644
--- a/meta-oe/recipes-extended/zram/zram_0.2.bb
+++ b/meta-oe/recipes-extended/zram/zram_0.2.bb
@@ -17,6 +17,9 @@ SRC_URI = " \
17 file://dev-zram0.swap \ 17 file://dev-zram0.swap \
18" 18"
19 19
20S = "${WORKDIR}/sources"
21UNPACKDIR = "${S}"
22
20do_install () { 23do_install () {
21 # Install systemd related configuration file 24 # Install systemd related configuration file
22 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 25 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then