On Tue Oct 17, 2023 at 10:51 AM CEST, Jose Quaresma wrote:
> Hi Erik,
>
> Erik Schilling <erik.schill...@linaro.org> escreveu no dia terça,
> 17/10/2023 à(s) 06:51:
>
> > On Mon Oct 16, 2023 at 6:31 PM CEST, Jose Quaresma wrote:
> > > Erik Schilling <erik.schill...@linaro.org> escreveu no dia segunda,
> > > 16/10/2023 à(s) 13:02:
> > >
> > > > When building with `cryptsetup` and `tpm2` in the
> > > > PACKAGECONFIG, this plugin will be emitted.
> > > >
> > > > Cc: Kristian Klausen <krist...@klausen.dk>
> > > > Cc: Mikko Rapeli <mikko.rap...@linaro.org>
> > > > Cc: Javier Tia <javier....@linaro.org>
> > > > Fixes: 7b7dfbfaed ("systemd: Add tpm2 PACKAGECONFIG")
> > > > Signed-off-by: Erik Schilling <erik.schill...@linaro.org>
> > > > ---
> > > >  meta/recipes-core/systemd/systemd_254.4.bb | 1 +
> > > >  1 file changed, 1 insertion(+)
> > > >
> > > > diff --git a/meta/recipes-core/systemd/systemd_254.4.bb
> > > > b/meta/recipes-core/systemd/systemd_254.4.bb
> > > > index 77724eb822..6ecfbaf293 100644
> > > > --- a/meta/recipes-core/systemd/systemd_254.4.bb
> > > > +++ b/meta/recipes-core/systemd/systemd_254.4.bb
> > > > @@ -645,6 +645,7 @@ FILES:${PN} = " ${base_bindir}/* \
> > > >                  ${sysconfdir}/X11/xinit/xinitrc.d/* \
> > > >                  ${rootlibexecdir}/systemd/* \
> > > >                  ${rootlibdir}/systemd/libsystemd-core* \
> > > > +
> > > > ${rootlibdir}/cryptsetup/libcryptsetup-token-systemd-tpm2* \
> > > >
> > >
> > > The systemd-cryptenroll was packed in the systemd-extra-utils so packing
> > > the plugin
> > > on the main systemd package is a bit weird.
> > > I wonder if a new package like systemd-crypt is better appropriate for
> > this
> > > where we
> > > going to put the systemd-cryptenroll and all the plugins available in
> > > ${rootlibdir}/cryptsetup
> >
> > Ah, did not realize that... I agree that breaking up systemd into
> > smaller packages would probably be a good thing. Currently building an
> > image with systemd in the initramfs and main image gives little choice
> > over which components go where... I will try a systemd-crypt variant.
> > Will also take a look at how other distros solve this.
> >
>
> I've been using this systemd-crypt package on my distro for some time now
> but I've forgotten to send it.
> In this package additionally to the TPM plugin I also have another for the
> PKVS#11.
> I have all of these in a bbappend and I can easily extract.


Ah that sounds great!


> So you don't have to worry, I still do it today.

Sorry, I do not understand what you mean here. Did you mean that you
plan to send a patch?

- Erik

> > >
> > >                  ${libdir}/pam.d \
> > > >                  ${nonarch_libdir}/pam.d \
> > > >                  ${systemd_unitdir}/* \
> > > >
> > > > ---
> > > > base-commit: 97f0a73c0a9db5506310328cd29f165eab3c509d
> > > > change-id: 20231016-b4-systemd-tpm2-crypt-plugin-5064c458e726
> > > >
> > > > Best regards,
> > > > --
> > > > Erik Schilling <erik.schill...@linaro.org>
> > > >
> > > >
> > > > 
> > > >
> > > >
> >
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189368): 
https://lists.openembedded.org/g/openembedded-core/message/189368
Mute This Topic: https://lists.openembedded.org/mt/101993740/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to