Skip to content

Commit

Permalink
meta-isar/recipes-security: remove swtpm packages
Browse files Browse the repository at this point in the history
Both Debian Bookwork and Ubuntu Jammy ship swtpm: we no longer need to
build and ship these packages.

Signed-off-by: Cedric Hombourger <[email protected]>
  • Loading branch information
chombourger committed Aug 21, 2023
1 parent 01d7ef9 commit 6dd6c46
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 87 deletions.
41 changes: 0 additions & 41 deletions docs/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,47 +158,6 @@ and install the updated packages::
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...

Get and build libtpms
^^^^^^^^^^^^^^^^^^^^^

Fetch the latest release from GitHub::

$ git clone https://github.com/stefanberger/libtpms.git
$ cd libtpms
$ git checkout v0.9.1

and build it as follows::

$ sudo mk-build-deps -i -r
$ dpkg-buildpackage -b -uc -us

and install it::

$ cd ..
$ sudo dpkg -i libtpms-dev_*_amd64.deb libtpms0_*_amd64.deb

Get and build swtpm
^^^^^^^^^^^^^^^^^^^

Fetch the latest release from GitHub::

$ git clone https://github.com/stefanberger/swtpm.git
$ cd swtpm
$ git checkout v0.7.0

and build it as follows::

$ sudo mk-build-deps -i -r
$ dpkg-buildpackage -b -uc -us

and install it::

$ cd ..
$ sudo dpkg -i swtpm_*_amd64.deb swtpm-libs_*_amd64.deb

Before starting ``kvm``, MTDA checks for the ``swtpm`` tool and automatically
enables QEMU's support for TPM devices.

NanoPI R1
---------

Expand Down
2 changes: 0 additions & 2 deletions meta-isar/recipes-core/packages/qemu-packages.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
# Here's our list of custom packages for qemu
DEPENDS = " \
gnutls28 \
libtpms \
swtpm \
"

# Make sure packages we built were added to the isar-apt repository
Expand Down
13 changes: 0 additions & 13 deletions meta-isar/recipes-security/libtpms/libtpms_0.9.1.bb

This file was deleted.

16 changes: 0 additions & 16 deletions meta-isar/recipes-security/swtpm/files/nocheck.patch

This file was deleted.

15 changes: 0 additions & 15 deletions meta-isar/recipes-security/swtpm/swtpm_0.7.0.bb

This file was deleted.

0 comments on commit 6dd6c46

Please sign in to comment.