rootfs_postbuild: Run rauc_fixups here instead of in the makefile #5

Merged xogium merged 2 commits into LuminaSensum:stable-dev-board from LuminaSensum:WIP_rauc_fixup on 9 Aug 2020
@Jookia Jookia commented on 8 Aug 2020

This is more consistent and allows updating the certs if needed.

I discussed this with Xogium and she pointed out that there's still a race between postbuild and genimage when it comes to reading the certificates. Also that it's bad to use postbuild for this type of fixing.

So I've redone the commits to:

  • Use 'world' instead of 'all' target so rauc-fixups in make works properly
  • Copy certificates and private keys to the build directory so there's no race conditions with external modification
@xogium xogium referenced the pull request on 9 Aug 2020

rootfs_postbuild: Run rauc_fixups here instead of in the makefile

@xogium xogium merged commit 47e2054 into stable-dev-board from WIP_rauc_fixup on 9 Aug 2020
@xogium xogium closed this pull request on 9 Aug 2020
@Jookia Jookia deleted the WIP_rauc_fixup branch on 9 Aug 2020
Labels

Priority
default
Milestone
No milestone
Assignee
No one assigned
2 participants
@Jookia @xogium