Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
6 changes: 5 additions & 1 deletion conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ BBFILE_PRIORITY_dasharo = "80"

LAYERVERSION_dasharo = "1"

LAYERSERIES_COMPAT_dasharo = "scarthgap master"
LAYERSERIES_COMPAT_dasharo = "whinlatter master"

# See this comment:
# https://github.com/Dasharo/meta-dasharo/pull/7#issuecomment-3052659291
PREFERRED_VERSION_converged-security-suite = "2.6.0"
2 changes: 0 additions & 2 deletions recipes-bsp/flashrom/flashrom_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ BRANCH = "dasharo-release"
SRC_URI = "git://github.com/Dasharo/flashrom.git;branch=${BRANCH};protocol=https"
SRCREV = "a961af7a39138216660b410a4a0bec48ef0fdd35"

S = "${WORKDIR}/git"

inherit meson pkgconfig
9 changes: 4 additions & 5 deletions recipes-bsp/fwupd/fwupd-efi_1.2.bb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ DEPENDS = "gnu-efi"

SRC_URI = "\
git://github.com/fwupd/fwupd-efi;protocol=https;branch=main \
file://cc.patch"
file://cc.patch \
"
SRCREV = "8de5918507dcc797e612aac688d6b60b90053f54"
S = "${WORKDIR}/git"

COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"

Expand All @@ -20,16 +20,15 @@ SBAT_DISTRO_ID ?= "${DISTRO}"
SBAT_DISTRO_SUMMARY ?= "${DISTRO_NAME}"
SBAT_DISTRO_URL ?= ""

EXTRA_OEMESON += "\
-Defi-cc=${@meson_array('CC', d)}\
EXTRA_OEMESON += " \
-Defi-ld='${HOST_PREFIX}ld' \
-Defi-includedir=${STAGING_INCDIR}/efi \
-Defi-libdir=${STAGING_LIBDIR} \
-Defi_sbat_distro_id='${SBAT_DISTRO_ID}' \
-Defi_sbat_distro_summary='${SBAT_DISTRO_SUMMARY}' \
-Defi_sbat_distro_url='${SBAT_DISTRO_URL}' \
-Defi_sbat_distro_pkgname='${PN}' \
-Defi_sbat_distro_version='${PV}'\
-Defi_sbat_distro_version='${PV}' \
"

# The compile assumes GCC at present
Expand Down
2 changes: 0 additions & 2 deletions recipes-bsp/fwupd/fwupd_2.0.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ SRC_URI = "git://git@github.com/Dasharo/fwupd;protocol=https;branch=dasharo-rele

SRCREV = "1ad6f5156dae1d54963bd3999a89a86567216af2"

S = "${WORKDIR}/git"

inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages

GIDOCGEN_MESON_OPTION = 'docs'
Expand Down
1 change: 1 addition & 0 deletions recipes-bsp/txe-secure-boot/files/a5df001.diff
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ it is something that they should worry about.

This commit tries to explain what actually happens here.

Upstream-Status: Pending
Change-Id: Iaa2678f5ae7c243811484c0567ced97ae0b3fc0a
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
---
Expand Down
22 changes: 11 additions & 11 deletions recipes-bsp/txe-secure-boot/smmstoretool_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@ SUMMARY = "Offline SMMSTORE variable modification tool"
HOMEPAGE = "https://github.com/coreboot/coreboot"

LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "\
file://${WORKDIR}/git/LICENSES/GPL-2.0-or-later.txt;md5=261bea1168c0bdfa73232ee90df11eb6\
LIC_FILES_CHKSUM = " \
file://${UNPACKDIR}/${BP}/LICENSES/GPL-2.0-or-later.txt;md5=261bea1168c0bdfa73232ee90df11eb6 \
"

PV = "1.0+git${SRCPV}"

SRC_URI = " \
git://github.com/coreboot/coreboot.git;branch=main;protocol=https\
file://a5df001.diff;patchdir=${WORKDIR}/git\
git://github.com/coreboot/coreboot.git;branch=main;protocol=https \
file://a5df001.diff;patchdir=${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX} \
"

SRCREV = "602653abed391ae1b1445ad86d0f05b8b5b678cb"

inherit pkgconfig

S = "${WORKDIR}/git/util/smmstoretool"
S = "${UNPACKDIR}/${BP}/util/smmstoretool"

INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
EXTRA_OEMAKE = ' \
DESTDIR="${D}" \
PREFIX="${prefix}" \
'
EXTRA_OEMAKE = " \
DESTDIR="${D}" \
PREFIX="${prefix}" \
"

do_install() {
oe_runmake install
}

FILES:${PN} += "\
${bindir}/smmstoretool\
FILES:${PN} += " \
${bindir}/smmstoretool \
"
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ SRC_URI = "\

SRCREV = "6817e69d8eab55bc72725a3be4a8627b8d71c31b"

S = "${WORKDIR}/git"

RDEPENDS:${PN} = " \
bash \
cbfstool \
Expand Down
2 changes: 0 additions & 2 deletions recipes-support/dasharo-ectool/dasharo-ectool_0.3.8.bb
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5c
SRC_URI[winapi-util-0.1.5.sha256sum] = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"

S = "${WORKDIR}/git"
Original file line number Diff line number Diff line change
@@ -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 = "${UNPACKDIR}"

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"
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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"

GO_IMPORT = "github.com/9elements/${BPN}"
GO_EXTRA_LDFLAGS:append = " -X main.gitcommit=${SRCREV} -X main.gittag=${PV}"

inherit go-mod

SRC_URI = " \
git://${GO_IMPORT}.git;protocol=https;branch=main;destsuffix=${GO_SRCURI_DESTSUFFIX} \
"
SRCREV = "ba64392f925cee348bee70173b1286710e255fe2"

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"