Hello,
I need to add some sanity checks during update so according mender documentation I plan to use state script. I’m in process of added ArtifactCommit_Enter_00_update-certificates script which basically need to check what was previous version (actual I can read from /etc …). Is there some simple way how to read it or so I need to do magic with reading u-boot env, mount inactive and read it?
Thanks.