Currently both locksmith and FLUO has copy-pasted Go code for interacting with update engine via D-Bus. It would be nice to actually have a library like go-updateengine, which would provide required implementation so those 2 projects can pull them.
Impact
Currently it doubles the effort in maintaining the code and it might be difficult to sync when changes to update_engine itself are done.
Current situation
Currently both locksmith and FLUO has copy-pasted Go code for interacting with update engine via D-Bus. It would be nice to actually have a library like
go-updateengine
, which would provide required implementation so those 2 projects can pull them.Impact
Currently it doubles the effort in maintaining the code and it might be difficult to sync when changes to update_engine itself are done.
Ideal future situation
There is a new GitHub project called
go-updateengine
with code from https://github.com/kinvolk/locksmith/tree/flatcar-master/updateengine and https://github.com/kinvolk/flatcar-linux-update-operator/tree/master/pkg/updateengine, taggedv0.1.0
using Go modules.