eclipse-leda / meta-leda

Yocto / OpenEmbedded Meta-Layers for Eclipse SDV components
https://eclipse-leda.github.io/leda/
Apache License 2.0
8 stars 9 forks source link

Fix raspberry pi rauc "other" slot being marked "bad" #105

Closed vasilvas99 closed 1 year ago

vasilvas99 commented 1 year ago

Issue

On the rpi4-64 the "other" slot (SDVB) gets marked bad. This is because the rauc-mark-good service manages the variables BOOT_LEFT but the names of the slots in the script were inconsistent. (Rauc was tracking SDV_A, but the "counter" variable was BOOT_A_LEFT" for example.

Fix

Make variable naming consistent. Now, on first boot (and all subsequent boots), both slots are marked "good":

image