diff options
author | Armin Kuster <akuster808@gmail.com> | 2024-07-29 09:01:59 -0400 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2024-07-29 20:07:01 -0400 |
commit | db91051c6a01c105846594e935494f16ab651f45 (patch) | |
tree | 966b840d8dd3b0e5cfc452f3a0f941646c1aeb4c | |
parent | f261a2b95a05a5d63a78626a081d635cb44006be (diff) | |
download | meta-security-db91051c6a01c105846594e935494f16ab651f45.tar.gz |
chipsec: Fix QA Warnings
ERROR: chipsec-1.9.1-r0 do_package_qa: QA Issue: File /usr/lib/python3.12/site-packages/chipsec/helper/linux/chipsec.ko in package chipsec contains reference to TMPDIR [buildpaths]
ERROR: chipsec-1.9.1-r0 do_package_qa: QA Issue: File /usr/lib/python3.12/site-packages/chipsec/helper/linux/.debug/chipsec.ko in package chipsec-dbg contains reference to TMPDIR [buildpaths]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/chipsec/chipsec_1.9.1.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-security/chipsec/chipsec_1.9.1.bb b/recipes-security/chipsec/chipsec_1.9.1.bb index 24451f8..213b047 100644 --- a/recipes-security/chipsec/chipsec_1.9.1.bb +++ b/recipes-security/chipsec/chipsec_1.9.1.bb | |||
@@ -24,6 +24,9 @@ do_compile:append() { | |||
24 | } | 24 | } |
25 | 25 | ||
26 | do_install:append() { | 26 | do_install:append() { |
27 | sed -i -e 's#${S}##g' ${S}/drivers/linux/chipsec.ko | ||
28 | sed -i -e 's#${STAGING_KERNEL_BUILDDIR}##g' ${S}/drivers/linux/chipsec.ko | ||
29 | sed -i -e 's#${STAGING_KERNEL_DIR}##g' ${S}/drivers/linux/chipsec.ko | ||
27 | install -m 0644 ${S}/drivers/linux/chipsec.ko ${D}${PYTHON_SITEPACKAGES_DIR}/chipsec/helper/linux | 30 | install -m 0644 ${S}/drivers/linux/chipsec.ko ${D}${PYTHON_SITEPACKAGES_DIR}/chipsec/helper/linux |
28 | } | 31 | } |
29 | 32 | ||
@@ -32,3 +35,4 @@ COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | |||
32 | FILES:${PN} += "${exec_prefix}" | 35 | FILES:${PN} += "${exec_prefix}" |
33 | 36 | ||
34 | RDEPENDS:${PN} = "python3 python3-modules" | 37 | RDEPENDS:${PN} = "python3 python3-modules" |
38 | INSANE_SKIP:${PN} = "already-stripped" | ||