Nokia RX-51: Add check for /lib/ld-linux.so.2 in test script
authorPali Rohár <pali@kernel.org>
Fri, 18 Jun 2021 13:31:08 +0000 (15:31 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Thu, 15 Jul 2021 12:26:05 +0000 (17:56 +0530)
Unfortunately for testing is required qflasher which works only in 32-bit
x86 mode. Apparently 64-bit x86 Azure CI has no problems as it has
preinstalled 32-bit libraries and can execute also 32-bit x86 executables.

This change just show human readable output why nokia_rx51_test.sh test
script fails.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210618133108.32497-1-pali@kernel.org
test/nokia_rx51_test.sh

index a143654..28aa554 100755 (executable)
@@ -18,6 +18,7 @@ echo '
        mformat                 (from mtools, homepage http://www.gnu.org/software/mtools/)
        /usr/sbin/mkfs.ubifs    (from mtd-utils, homepage http://www.linux-mtd.infradead.org/)
        /usr/sbin/ubinize       (from mtd-utils, homepage http://www.linux-mtd.infradead.org/)
+       /lib/ld-linux.so.2      (32-bit x86 version of LD loader, needed for qflasher)
 ' | while read tool info; do
        if test -z "$tool"; then continue; fi
        if ! which $tool 1>/dev/null 2>&1; then