Skip to contentSkip to conversation

chipsec: update to 1.8.5

PATCH New Armin Kuster 1 participant 2 messages Jun 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 chipsec: update to 1.8.5

minor recipe cleanup

---
 .../{chipsec_git.bb => chipsec_1.8.5.bb}      | 21 +++++++++----------
 1 file changed, 10 insertions(+), 11 deletions(-)
 rename recipes-security/chipsec/{chipsec_git.bb => chipsec_1.8.5.bb} (71%)
recipes-security/chipsec/chipsec_1.8.5.bb renamed from recipes-security/chipsec/chipsec_git.bb +10 -11
similarity index 71%
rename from recipes-security/chipsec/chipsec_git.bb
rename to recipes-security/chipsec/chipsec_1.8.5.bb
index d6c3ff2..48dfe45 100644
@@ -7,21 +7,17 @@ DESCRIPTION = "CHIPSEC is a framework for analyzing the security \
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bc2d1f9b427be5fb63f6af9da56f7c5d"
 
-SRC_URI = "git://github.com/chipsec/chipsec.git;branch=master;protocol=https \
-          "
+DEPENDS = "virtual/kernel nasm-native"
 
-SRCREV = "b2a61684826dc8b9f622a844a40efea579cd7e7d"
-
-COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
+SRC_URI = "git://github.com/chipsec/chipsec.git;branch=main;protocol=https"
+SRCREV = "07a532aac9f6c3d94b8895cf89336b6a2e60c0d9"
 
 S = "${WORKDIR}/git"
-EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'"
-
-DEPENDS = "virtual/kernel nasm-native python3-setuptools-native"
-RDEPENDS:${PN} += "python3 python3-modules"
 
 inherit module setuptools3
 
+EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'"
+
 do_compile:append() {
 	cd ${S}/drivers/linux
 	oe_runmake  KSRC=${STAGING_KERNEL_BUILDDIR}
@@ -31,5 +27,8 @@ do_install:append() {
 	install -m 0644 ${S}/drivers/linux/chipsec.ko ${D}${PYTHON_SITEPACKAGES_DIR}/chipsec/helper/linux
 }
 
-FILES:${PN} += "${exec_prefix} \
-"
+COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
+
+FILES:${PN} += "${exec_prefix}"
+
+RDEPENDS:${PN} = "python3 python3-modules"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 security-build-image: add lkrg-module to build image

---
 recipes-core/images/security-build-image.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-core/images/security-build-image.bb +1 -0
index a8757f9..411cd20 100644
@@ -3,6 +3,7 @@ DESCRIPTION = "A small image for building meta-security packages"
 IMAGE_FEATURES += "ssh-server-openssh"
 
 IMAGE_INSTALL = "\
+    ${@bb.utils.contains("DISTRO_FEATURES", "lkrg", "lkrg-module", "",d)} \
     packagegroup-base \
     packagegroup-core-boot \
     packagegroup-core-security \
Signature · 1 line
2.25.1