]> git.ozlabs.org Git - petitboot/commit
pb-plugin: Implement plugin ABI versioning
authorJeremy Kerr <jk@ozlabs.org>
Wed, 2 Sep 2015 09:13:27 +0000 (17:13 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 2 Sep 2015 09:13:27 +0000 (17:13 +0800)
commit94fe62686228cf49dc055c50ce8f7ced3bf3cb96
tree5aa51d1b08cbd3acadf7d64075c58ba6ae013360
parente75fa5f6bf36233c3bd72e9854d244908af9a391
pb-plugin: Implement plugin ABI versioning

If a future update to plugins is not compatbile with the installed
plugin infrastructure, we want to abort the scan / install process.

This change adds an ABI version to the script, as well as version (and
minimum-supported version) to the plugin metadata. This means we can
check before plugin execution.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
utils/pb-plugin