Replies: 1 comment
-
Would the 'custom' bootloader backend match your requirements?
See here for some details about how RAUC detects the slot it is booted from. More details about the slot handling can be found in https://rauc.readthedocs.io/en/latest/basic.html#target-slot-selection Maybe that answers parts of your question already?
Does the inactive one actually need to be mounted? For finding the devices, RAUC provides symlinks in
A
For the service, you can enforce the slot it assumes to be booted on, by setting |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to have A+B slots without a bootname that i'd like to externally mark according to my logic (i have a custom
installscript for this). What i cannot figure out is the logic RAUC uses to select the slot to update and would be great if RAUC provided some way to force the target slot (in the same waywrite-slotdoes but without by-passing the update process starting from RAUC bundles).Suppose i have the current apps partition mounted on
/appsand the fallback one mounted on/bkp_apps.I want always to update the slot mounted on
/bkp_apps. Unfortunately there is no relation between the active one and the related device, the current partition is choosen at boot time).I added
allow-mountedin order to let the update process to not fail with "already mounted error" and my install script is correctly invoked. However when the update completes, i see that metadata (installation date, hashes, etc..) are obviously updated for the wrong target slot, the one that RAUC selects as the target slot for the update.Am i missing something?
Could make sense to add possibilty to force an active slot of a specific type according to custom logic?
Beta Was this translation helpful? Give feedback.
All reactions