Hi Kristian, On Wed, Sep 15, 2021 at 12:23:08PM +0200, Kristian Klausen via lists.openembedded.org wrote: > The TPM2 support is used, among other things, for unlocking encrypted > volumes. > > Signed-off-by: Kristian Klausen <[email protected]> > --- > meta/recipes-core/systemd/systemd_249.3.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-core/systemd/systemd_249.3.bb > b/meta/recipes-core/systemd/systemd_249.3.bb > index c027b88fd6..f8c85dabf0 100644 > --- a/meta/recipes-core/systemd/systemd_249.3.bb > +++ b/meta/recipes-core/systemd/systemd_249.3.bb > @@ -128,6 +128,7 @@ PACKAGECONFIG[bzip2] = "-Dbzip2=true,-Dbzip2=false,bzip2" > PACKAGECONFIG[cgroupv2] = > "-Ddefault-hierarchy=unified,-Ddefault-hierarchy=hybrid" > PACKAGECONFIG[coredump] = "-Dcoredump=true,-Dcoredump=false" > PACKAGECONFIG[cryptsetup] = > "-Dlibcryptsetup=true,-Dlibcryptsetup=false,cryptsetup,,cryptsetup" > +PACKAGECONFIG[tpm2] = "-Dtpm2=true,-Dtpm2=false,tpm2-tss,tpm2-tss libtss2 > libtss2-tcti-device"
Shouldn't the RDEPENDS part of the PACKAGECONFIG be pulled in automatically by Bitbake since I assume the libs they contained are used by the linker for systemd? Also looking at the tpm2-tss recipe, I'm not sure there's a package named libtss2-tcti-device? I would assume that PACKAGECONFIG[tpm2] = "-Dtpm2=true,-Dtpm2=false,tpm2-tss" would be enough except if there's dynamic loading of libraries or binaries from tpm2-tss that are required at runtime? Cheers, Quentin
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#156052): https://lists.openembedded.org/g/openembedded-core/message/156052 Mute This Topic: https://lists.openembedded.org/mt/85623932/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
