Cortex M7 Subsystem Update Action handler

Hi @TimSiegrist

pay attention that the cp command is not guaranteed to be atomic in Linux.
I mean here

cp "${M7_FIRMWARE}" /var/m7-firmware/m7-cortex.bin

And if the reboot happens in the middle of cp you can have empty or corrupted firmware (I saw this).

You cannot use mv synce the source folder is read only.
You must add an explicit sync befor reboot.