Discovered while working on
MEN-5740 but it is independent.
Verified only on Raspberry Pi 3, but based on the nature of the problem Raspberry Pi 4 is also affected.
How to reproduce:
- flash a fresh kirkstone image to Raspberry Pi 3
- deploy a rootfs update
- the device boots into the old partition
- the device commits the update and reports success to the server (why?)
The reason is that cmdline.txt file in the boot partition has hardcoded root=/dev/mmcblk0p2