Merge ~lvoytek/ubuntu/+source/swtpm:fix-datarootdir-jammy into ubuntu/+source/swtpm:ubuntu/jammy-devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | git-ubuntu bot | ||||
Approved revision: | not available | ||||
Merged at revision: | 466143890eb731be7db42051bf7f028b1d2dce32 | ||||
Proposed branch: | ~lvoytek/ubuntu/+source/swtpm:fix-datarootdir-jammy | ||||
Merge into: | ubuntu/+source/swtpm:ubuntu/jammy-devel | ||||
Diff against target: |
53 lines (+31/-0) 3 files modified
debian/changelog (+7/-0) debian/patches/create-user-config-files-use-correct-swtpm-localca.patch (+23/-0) debian/patches/series (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
git-ubuntu bot | Approve | ||
Bryce Harrington (community) | Approve | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+441975@code.launchpad.net |
Commit message
PPA: https:/
Kinetic MP: https:/
Testing:
$ lxc launch ubuntu:jammy --vm test-swtpm
$ lxc exec test-swtpm bash
# apt update && apt dist-upgrade -y
# add-apt-repository ppa:lvoytek/
# apt install swtpm swtpm-tools -y
# su ubuntu
$ cd
$ /usr/share/
$ swtpm_setup --tpm2 --tpmstate . --overwrite --create-ek-cert
Starting vTPM manufacturing as ubuntu:ubuntu @ Thu 27 Apr 2023 01:05:24 AM UTC
TPM is listening on Unix socket.
Successfully created RSA 2048 EK with handle 0x81010001.
Invoking /usr/lib/
swtpm-localca: Creating root CA and a local CA's signing key and issuer cert.
swtpm-localca: Successfully created EK certificate locally.
Successfully created NVRAM area 0x1c00002 for RSA 2048 EK certificate.
Successfully created ECC EK with handle 0x81010016.
Invoking /usr/lib/
swtpm-localca: Successfully created EK certificate locally.
Successfully created NVRAM area 0x1c00016 for ECC EK certificate.
Successfully activated PCR banks sha1,sha256 among sha1,sha256,
Successfully authored TPM state.
Ending vTPM manufacturing @ Thu 27 Apr 2023 01:05:25 AM UTC
See commentary on MP #441974, this is the same fix. I also confirmed the before and after results using the test case. LGTM, +1.