From 01ad0c31feeadc313e8c062c0517e1ad8833bb56 Mon Sep 17 00:00:00 2001 From: Maciej Pijanowski Date: Wed, 9 Jul 2025 12:38:41 +0200 Subject: [PATCH 1/3] recipes-tests/converged-security-suite: add Signed-off-by: Maciej Pijanowski --- .../converged-security-suite_2.8.1.bb | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 recipes-tests/converged-security-suite/converged-security-suite_2.8.1.bb diff --git a/recipes-tests/converged-security-suite/converged-security-suite_2.8.1.bb b/recipes-tests/converged-security-suite/converged-security-suite_2.8.1.bb new file mode 100644 index 0000000..ce4b53a --- /dev/null +++ b/recipes-tests/converged-security-suite/converged-security-suite_2.8.1.bb @@ -0,0 +1,27 @@ +SUMMARY = "Converged Security Suite's txt-suite" +HOMEPAGE = "https://github.com/9elements/converged-security-suite" +SECTION = "devel" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" + +SRC_URI = "https://github.com/9elements/${BPN}/releases/download/v${PV}/artifacts-amd64.zip" +SRC_URI[sha256sum] = "58362a5976e68c31e20ecd34338683826c920bb2f34c717dd693aecbb1f7db3d" + +S = "${WORKDIR}" + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/amd-suite ${D}${bindir} + install -m 0755 ${S}/bg-prov ${D}${bindir} + install -m 0755 ${S}/bg-suite ${D}${bindir} + install -m 0755 ${S}/pcr0tool ${D}${bindir} + install -m 0755 ${S}/txt-prov ${D}${bindir} + install -m 0755 ${S}/txt-suite ${D}${bindir} +} + +PACKAGES =+ "${PN}-amd ${PN}-bg ${PN}-txt ${PN}-tools" + +FILES:${PN}-amd += "${bindir}/amd-suite" +FILES:${PN}-bg += "${bindir}/bg-prov ${bindir}/bg-suite" +FILES:${PN}-txt += "${bindir}/txt-prov ${bindir}/txt-suite" +FILES:${PN}-tools += "${bindir}/pcr0tool" From eccba1ec830aded5d2d9a85e9ceeae596196a4c2 Mon Sep 17 00:00:00 2001 From: Maciej Pijanowski Date: Wed, 9 Jul 2025 12:59:42 +0200 Subject: [PATCH 2/3] .pre-commit-config.yaml: update Signed-off-by: Maciej Pijanowski --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 620603b..8fb3749 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,24 +29,24 @@ repos: - commit-msg - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell - repo: https://github.com/adrienverge/yamllint - rev: v1.35.1 + rev: v1.37.1 hooks: - id: yamllint args: [-c=.yamllint] - repo: https://github.com/3mdeb/hooks - rev: v0.1.3 + rev: v0.1.7 hooks: - id: namespell args: [--fix] - repo: https://github.com/priv-kweihmann/oelint-adv - rev: 6.6.2 + rev: 8.1.2 hooks: - id: oelint-adv args: [--rulefile=.oelint-ruleset.json, --hide=info, --quiet] From ab8695de3c8fa1697e342cc80c9d03f02b00278e Mon Sep 17 00:00:00 2001 From: Maciej Pijanowski Date: Sun, 28 Sep 2025 12:36:26 +0200 Subject: [PATCH 3/3] recipes-tests/converged-security-suite: add v2.6.0 Signed-off-by: Maciej Pijanowski --- conf/layer.conf | 4 +++ .../converged-security-suite_2.6.0.bb | 27 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 recipes-tests/converged-security-suite/converged-security-suite_2.6.0.bb diff --git a/conf/layer.conf b/conf/layer.conf index 9cef414..92e0f76 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -10,3 +10,7 @@ BBFILE_PRIORITY_dasharo = "80" LAYERVERSION_dasharo = "1" LAYERSERIES_COMPAT_dasharo = "scarthgap master" + +# See this comment: +# https://github.com/Dasharo/meta-dasharo/pull/7#issuecomment-3052659291 +PREFERRED_VERSION_converged-security-suite = "2.6.0" diff --git a/recipes-tests/converged-security-suite/converged-security-suite_2.6.0.bb b/recipes-tests/converged-security-suite/converged-security-suite_2.6.0.bb new file mode 100644 index 0000000..4856c77 --- /dev/null +++ b/recipes-tests/converged-security-suite/converged-security-suite_2.6.0.bb @@ -0,0 +1,27 @@ +SUMMARY = "Converged Security Suite's txt-suite" +HOMEPAGE = "https://github.com/9elements/converged-security-suite" +SECTION = "devel" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" + +SRC_URI = "https://github.com/9elements/converged-security-suite/releases/download/v2.6.0/txt-suite" +SRC_URI[sha256sum] = "1fc1ddae8369ae7938abaca797491b99f56d3f3acd5e951dc368c33482662eaa" + +S = "${WORKDIR}" + +do_install() { + install -d ${D}${bindir} + # install -m 0755 ${S}/amd-suite ${D}${bindir} + # install -m 0755 ${S}/bg-prov ${D}${bindir} + # install -m 0755 ${S}/bg-suite ${D}${bindir} + # install -m 0755 ${S}/pcr0tool ${D}${bindir} + # install -m 0755 ${S}/txt-prov ${D}${bindir} + install -m 0755 ${S}/txt-suite ${D}${bindir} +} + +PACKAGES =+ "${PN}-amd ${PN}-bg ${PN}-txt ${PN}-tools" + +FILES:${PN}-amd += "${bindir}/amd-suite" +FILES:${PN}-bg += "${bindir}/bg-prov ${bindir}/bg-suite" +FILES:${PN}-txt += "${bindir}/txt-prov ${bindir}/txt-suite" +FILES:${PN}-tools += "${bindir}/pcr0tool"