Comment 4 for bug 1844280

Revision history for this message
Pierre Equoy (pieq) wrote :

I investigated this a bit.

Currently, 18.04 LTS had fwupd v1.0.9-0ubuntu2. This version only has some human-readable output.

I contacted the author of fwupd who told me v1.2.6+ comes with another tool called fwupdagent that returns a json string containing all the information we'd need. Unfortunately, this version will probably never be available for 18.04. There is a snap version of fwupd that is more up to date, but I don't think we can control the installation and use of a third party snap from within qabro.

The only easy way for now seems to do string parsing using the human-readable output, which is not very good because it's prone to break easily (and it will, as fwupd v1.2+ already have different output...)