[PATCH 1/1] Dockerfile: build swtpm
Tom Rini
trini at konsulko.com
Sat Nov 13 21:51:05 CET 2021
On Sat, Nov 13, 2021 at 09:14:39PM +0100, Heinrich Schuchardt wrote:
>
>
> On 11/9/21 20:27, Tom Rini wrote:
> > On Tue, Nov 09, 2021 at 07:51:20PM +0100, Heinrich Schuchardt wrote:
> >
> > > For testing the TPM drivers and the EFI_TCG2_PROTOCOL we need the tool
> > > swtpm.
> > >
> > > Once we move to Ubuntu Impish we can take libtpms from package libtpms-dev.
> > >
> > > Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> >
> > Much like how we used to handle one of the other requirements by
> > wget'ing a single deb from a later release, can we do that here? Or too
> > many dependencies?
>
> The following works in "virgin" Ubuntu Focal:
>
> apt-get update
> apt-get install wget dpkg-sig
> wget https://launchpad.net/ubuntu/+archive/primary/+files/libtpms-dev_0.9.0-0ubuntu2_amd64.deb
> wget https://launchpad.net/ubuntu/+archive/primary/+files/libtpms0_0.9.0-0ubuntu2_amd64.deb
> dpkg -i *.deb
>
> But this would not check package signatures.
> You should check the hashes of the downloaded deb files.
OK, we'll just build it then I guess, thanks.
> I would not expect that the URLs stay available when a new package version
> becomes available.
>
> Why do you want to stay on Focal?
Because it's the LTS? I try and keep CI (and python requirements, etc)
to things that are widely available and still supported. I'd frankly
try and stick to focal until 2022.10 is out, but will probably move to
2022.04 shortly after release just because the lack of host-gcc 11 in
turn makes the checks we have for optimized memcpy/etc for aarch64
annoying. I'm tempted to switch to vanilla Debian/bullseye in CI, but
need to change what we pin pygit2 to, but updating that isn't the worst
idea either.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211113/15b4df69/attachment.sig>
More information about the U-Boot
mailing list