diff options
| author | Leonard Anderweit <[email protected]> | 2025-11-18 15:30:20 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-11-27 09:27:03 -0600 |
| commit | 5d7c080ae5dc1f8d5ca4fb1dd93a15ea96ca8c72 (patch) | |
| tree | ea45e31a6e896dec06283e3801955b71a44ad49f /boot | |
| parent | 70ab39e2305f6ab9b7b1752e26b0e4293129009b (diff) | |
bootstd: rauc: Don't check root part filesystem
Only check if the root partition exists when scanning for the slots
partitions and not if the filesystem can be accessed. It is not needed
to access the filesystem of the root partition as it might not be
supported by u-boot or be encrypted.
Signed-off-by: Leonard Anderweit <[email protected]>
Tested-by: Martin Schwan <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/bootmeth_rauc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/bootmeth_rauc.c b/boot/bootmeth_rauc.c index f5d5a971e87..1096daedb5a 100644 --- a/boot/bootmeth_rauc.c +++ b/boot/bootmeth_rauc.c @@ -17,6 +17,7 @@ #include <fs.h> #include <malloc.h> #include <mapmem.h> +#include <part.h> #include <string.h> #include <linux/stringify.h> #include <asm/cache.h> @@ -121,10 +122,9 @@ static int distro_rauc_scan_parts(struct bootflow *bflow) if (ret) return log_msg_ret("part", ret); fs_close(); - ret = fs_set_blk_dev_with_part(desc, slot->root_part); + ret = part_get_info(desc, slot->root_part, NULL); if (ret) return log_msg_ret("part", ret); - fs_close(); } } str_free_list(boot_order_list); |
