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.schucha...@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.

I would not expect that the URLs stay available when a new package version becomes available.

Why do you want to stay on Focal?

Best regards

Heinrich

Reply via email to