Hi,

As a simple fix - Not beeing able to start trousers should not fail the
installation - So the first fix should be to change the invoke-rc.d in
postinst to this:

        invoke-rc.d trousers $_dh_action || exit 0

Then for all checks whether there is a tpm device one could use
something like this:

        if [ -z "$(shopt -s nullglob; echo /dev/tpm*)" ]

The problem is that all -e check with a wildcard have a possibility
to fail when there are multiple glob returns.

So this should fix the "-e /dev/tpm*" here - and #787244

Flo
-- 
Florian Lohoff                                                     f...@zz.de

Attachment: signature.asc
Description: PGP signature

Reply via email to