bootstd: rauc: Only scan all partitions instead of boot files
authorMartin Schwan <m.schwan@phytec.de>
Mon, 14 Jul 2025 13:30:10 +0000 (15:30 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 22 Jul 2025 19:53:17 +0000 (13:53 -0600)
commitf271b0627001b444e00b8379a069ce8d8860490e
treeb528d93168ee740669828635fb9f8d760c175b81
parent84cef694e73cc820fbc7131b1a25b79e17bec609
bootstd: rauc: Only scan all partitions instead of boot files

Only scan for the existence of all required partitions of a RAUC system,
instead of searching for boot script files in all of them.

Previously, it might have occurred, that a slot did not contain required
files and RAUC already marked the corresponding slot as bad (not
suitable for booting). In that case, scanning for a non-existence boot
script would result in an error (and thus not booting anything), which
was different behavior compared to the legacy RAUC boot.

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
boot/bootmeth_rauc.c