nand-sata-install must fail with a proper error message if the chosen mkfs.xyz is not installed

Description

This fixes a wrong error message from nand-sata-install when filesystem tools are missing.

Prior to this change, the script doesn't notice that the tools are missing and tries to actually check the target FS size. Since that size is a blank string (because the target FS was never created), it gives a wrong error message saying that the FS is too small.

Environment

None

Checklist

hide

Activity

Show:
Done

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created November 12, 2022 at 2:43 AM
Updated November 12, 2022 at 3:57 PM
Resolved November 12, 2022 at 3:57 PM