swtpm-create-user-config-files script contains unevaluated @DATAROOTDIR@ variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
swtpm (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
Jammy |
Triaged
|
Low
|
Unassigned |
Bug Description
Hi,
*Description*:
the swtpm setup tool located at `/usr/share/
According to the author of the swtpm tool this error is probably introduced in the build/packaging process (see linked github issue).
https:/
Here is the actual content of the file:
```
grep -n DATAROOT /usr/share/
68:create_
```
I would expect the line to be:
```
create_certs_tool = /usr/share/
```
*Version Info*:
OS: Ubuntu 22.04.1 LTS
swtpm: 0.6.3-0ubuntu3
Could you please fix the build/packaging process?
Thanks and Best Regards,
Josef
tags: | added: foundations-triage-discuss |
tags: | removed: foundations-triage-discuss |
tags: | added: jammy |
It looks like this is a side effect of debian/ patches/ 0001-Install- swtpm-localca- to-the- correct- path.patch, which is an Ubuntu-specific patch. I think samples/ swtpm-create- user-config- files.in also needs to be patched to use LIBEXECDIR instead of DATAROOTDIR.