meta-digi/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey
Hector Palacios 5156fe26b3 installers: use if/elif/else to determine rootfs filename
The installer uses the regular rootfs filename or falls back to search
for a squashfs (read-only) rootfs image.
The UUU installers of eMMC-based platforms use an if/elif/else structure
to determine which file exist (in order of preference). Replicate this
structure on the rest of platforms and installers.
This avoids printing an error message if the default rootfs does not exist
but the read-only one does.
Also, reset 'rootfstype' variable if the default rootfs file exists, which
allows to install regular images over a previous read-only system.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-12 10:56:57 +02:00
..
ccimx6qpsbc installers: use if/elif/else to determine rootfs filename 2025-06-12 10:56:57 +02:00
ccimx6sbc installers: use if/elif/else to determine rootfs filename 2025-06-12 10:56:57 +02:00
ccimx6ul installers: use if/elif/else to determine rootfs filename 2025-06-12 10:56:57 +02:00
ccimx6ulsbc boot scripts: print boot attempts only when bootcount mechanism active 2023-10-20 10:48:07 +02:00
ccimx6ulstarter boot scripts: print boot attempts only when bootcount mechanism active 2023-10-20 10:48:07 +02:00
ccimx8m installers: use if/elif/else to determine rootfs filename 2025-06-12 10:56:57 +02:00
ccimx8mm-dvk global: rework Digi DT overlays filename structure 2025-02-10 18:04:06 +01:00
ccimx8mn-dvk global: rework Digi DT overlays filename structure 2025-02-10 18:04:06 +01:00
ccimx8x installers: use if/elif/else to determine rootfs filename 2025-06-12 10:56:57 +02:00
ccimx8x-sbc-express global: rework Digi DT overlays filename structure 2025-02-10 18:04:06 +01:00
ccimx8x-sbc-pro global: rework Digi DT overlays filename structure 2025-02-10 18:04:06 +01:00
ccimx9 installers: use if/elif/else to determine rootfs filename 2025-06-12 10:56:57 +02:00
ccmp1 installers: use if/elif/else to determine rootfs filename 2025-06-12 10:56:57 +02:00
ccmp2 installers: use if/elif/else to determine rootfs filename 2025-06-12 10:56:57 +02:00
ccmp13-dvk ccmp13: add device tree overlay for DVKv3 2025-05-13 12:56:20 +02:00
ccmp15-dvk global: rework Digi DT overlays filename structure 2025-02-10 18:04:06 +01:00
ccmp25-dvk global: rework Digi DT overlays filename structure 2025-02-10 18:04:06 +01:00
stm32mpcommon u-boot-dey: use common FIT signature fragment for stm platforms 2025-03-26 08:53:12 +01:00
use-mainline-bsp thud migration: u-boot: remove kernel image type from device tree files 2019-02-08 12:13:11 +01:00