tpm2-tss: restore version 3.2.x to meta-parsec
PATCH 1/2 tpm2-tss: restore version 3.2.x to meta-parsec
parsec-service does not support 4.x so keep older version for now too
This fixes parsec-service build
Error:
thread 'main' panicked at 'Unsupported TSS version: 4',
Signed-off-by Armin Kuster <[email protected]>
--- .../tpm2-tss-3.2.0/fixup_hosttools.patch | 29 ++++++ .../recipes-tpm2/tpm2-tss/tpm2-tss_3.2.0.bb | 97 +++++++++++++++++++ 2 files changed, 126 insertions(+) create mode 100644 meta-parsec/recipes-tpm2/tpm2-tss/tpm2-tss-3.2.0/fixup_hosttools.patch create mode 100644 meta-parsec/recipes-tpm2/tpm2-tss/tpm2-tss_3.2.0.bb
meta-parsec/recipes-tpm2/tpm2-tss/tpm2-tss-3.2.0/fixup_hosttools.patch new file +29 -0
@@ -0,0 +1,29 @@ +revert configure: add checks for all tools used by make install + +Not appropriate for cross build env. + +Upstream-Status: OE [inappropriate] +Signed-off-by: Armin Kuster <[email protected]> + +Index: tpm2-tss-3.2.0/configure.ac +=================================================================== +--- tpm2-tss-3.2.0.orig/configure.ac ++++ tpm2-tss-3.2.0/configure.ac +@@ -488,17 +488,6 @@ + AC_CHECK_PROG(systemd_tmpfiles, systemd-tmpfiles, yes) + AM_CONDITIONAL(SYSD_TMPFILES, test "x$systemd_tmpfiles" = "xyes") + +-# Check all tools used by make install +-AS_IF([test "$HOSTOS" = "Linux"], +- [ AC_CHECK_PROG(useradd, useradd, yes) +- AC_CHECK_PROG(groupadd, groupadd, yes) +- AC_CHECK_PROG(adduser, adduser, yes) +- AC_CHECK_PROG(addgroup, addgroup, yes) +- AS_IF([test "x$addgroup" != "xyes" && test "x$groupadd" != "xyes" ], +- [AC_MSG_ERROR([addgroup or groupadd are needed.])]) +- AS_IF([test "x$adduser" != "xyes" && test "x$useradd" != "xyes" ], +- [AC_MSG_ERROR([adduser or useradd are needed.])])]) +- + AC_SUBST([PATH]) + + dnl --------- Doxy Gen -----------------------
meta-parsec/recipes-tpm2/tpm2-tss/tpm2-tss_3.2.0.bb new file +97 -0
97 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH 2/2 meta-parsec: bump BBFILE_PRIORITY to the right tpm2-tss is included
Parsec-service does not support tpm2-tss 4 so us the older release 3.2.x
Signed-off-by Armin Kuster <[email protected]>
--- meta-parsec/conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-parsec/conf/layer.conf +1 -1
@@ -6,7 +6,7 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "parsec-layer" BBFILE_PATTERN_parsec-layer = "^${LAYERDIR}/" -BBFILE_PRIORITY_parsec-layer = "5" +BBFILE_PRIORITY_parsec-layer = "7" LAYERSERIES_COMPAT_parsec-layer = "mickledore"
Signature · 1 line
2.25.1
Hi Armin,
We're in the process of releasing new version of Parsec where this issue is fixed. https://github.com/parallaxsecond/parsec/issues/663
We will update parsec recipes in the next few days.
Cheers,
Anton