Skip to contentSkip to conversation

os-release.bbappend: drop now CPE_NAME is in core

PATCH New Armin Kuster 1 participant 3 messages May 3, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 os-release.bbappend: drop now CPE_NAME is in core

---
 .../recipes-core/os-release/os-release.bbappend                  | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 meta-security-compliance/recipes-core/os-release/os-release.bbappend
meta-security-compliance/recipes-core/os-release/os-release.bbappend deleted +0 -1
deleted file mode 100644
index 604bacb..0000000
@@ -1 +0,0 @@
-CPE_NAME="cpe:/o:openembedded:nodistro:0"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/3 openembedded-release: drop as os-release does this now

---
 .../openembedded-release_1.0.bb               | 32 -------------------
 1 file changed, 32 deletions(-)
 delete mode 100644 meta-security-compliance/recipes-core/openembedded-release/openembedded-release_1.0.bb
meta-security-compliance/recipes-core/openembedded-release/openembedded-release_1.0.bb deleted +0 -32
deleted file mode 100644
index 0ad427d..0000000
@@ -1,32 +0,0 @@
-inherit allarch
-
-SUMMARY = "Operating release identification"
-DESCRIPTION = "The /etc/openembedded-release file contains operating system identification data."
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-INHIBIT_DEFAULT_DEPS = "1"
-
-do_fetch[noexec] = "1"
-do_unpack[noexec] = "1"
-do_patch[noexec] = "1"
-do_configure[noexec] = "1"
-
-VERSION = "0"
-RELEASE_NAME = "${DISTRO_NAME} ${DISTRO} ${VERSION}"
-
-def sanitise_version(ver):
-    ret = ver.replace('+', '-').replace(' ','_')
-    return ret.lower()
-
-python do_compile () {
-    import shutil
-    release_name = d.getVar('RELEASE_NAME')		 
-    with open(d.expand('${B}/openemebedded-release'), 'w') as f:
-        f.write('%s\n' % release_name)
-}
-do_compile[vardeps] += "${RELEASE_NAME}"
-
-do_install () {
-    install -d ${D}${sysconfdir}
-    install -m 0644 openemebedded-release ${D}${sysconfdir}/
-}
Signature · 1 line
2.25.1
#2 lore raw

PATCH 3/3 tpm2-tss: drop vendor from PACKAGECONFIG

In reply to Armin Kuster

fixes:
WARNING: tpm2-tss-4.0.1-r0 do_configure: QA Issue: tpm2-tss: invalid PACKAGECONFIG: vendor [invalid-packageconfig]

---
 meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_4.0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_4.0.1.bb +1 -1
index cc7e6ae..6386105 100644
@@ -18,7 +18,7 @@ CVE_PRODUCT = "tpm2_software_stack"
 
 inherit autotools pkgconfig systemd useradd
 
-PACKAGECONFIG ??= "vendor"
+PACKAGECONFIG ??= ""
 PACKAGECONFIG[oxygen] = ",--disable-doxygen-doc, "
 PACKAGECONFIG[fapi] = "--enable-fapi,--disable-fapi,curl json-c util-linux-libuuid "
 PACKAGECONFIG[policy] = "--enable-policy,--disable-policy,json-c util-linux-libuuid "
Signature · 1 line
2.25.1