Monday, June 03, 2019

syspatch(8) and patches requiring fw_update

In the latest mds errata patch, I noticed that one of the steps is to
run fw_update. From briefly looking over the syspatch script, I don't
see it calling fw_update once a patch is applied.

Would you welcome a diff to add support for this? If so I can look at
writing one. It would check against the .sig patch file itself, since
the .tgz syspatch binary patch doesn't contain any details about needing
to run fw_update.

A rough set of steps would be:

- Pull .sig patch from mirror and verify signature
- Parse for fw_update
- Once the patch has been applied, run fw_update

Please let me know of any feedback to this approach.

Andrew

No comments:

Post a Comment