Details
Description
After this commit in meta-mender, the images generated by mender do not populate the inactive partition.
mender-artifact cli operations such as cp expect the two partitions to exist and have the same files, so that for example a file is copied to both of them. See this comment. These operation now just error.
We should fix mender-artifact to probe for partitions and write to only these that actually exist instead of just.
Acceptance criteria:
- Bug is fixed
- Unit tests for it