diff options
-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" | ||