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> |
||
|---|---|---|
| .. | ||
| boot.txt | ||
| install_linux_fw_sd.txt | ||
| install_linux_fw_usb.txt | ||
| install_linux_fw_uuu.sh | ||