summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-security/chipsec/chipsec_1.9.1.bb4
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
26do_install:append() { 26do_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"
32FILES:${PN} += "${exec_prefix}" 35FILES:${PN} += "${exec_prefix}"
33 36
34RDEPENDS:${PN} = "python3 python3-modules" 37RDEPENDS:${PN} = "python3 python3-modules"
38INSANE_SKIP:${PN} = "already-stripped"