SDK MPU installation script error
Hello,
I would like to setup environment for STM32MPU according this instruction:
so I downloaded the SDK .tar
and run the script and got an error
./st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.sh
Extracting SDK............................................................................................................................................................................................................................done
Setting it up...xargs: file: No such file or directory
sed: no input files
Failed to replace perl. Relocate script failed. Abort!I run this script in docker based on ubuntu. All necessary packet installed.
FROM ubuntu:20.04
What could be a problem?
I run this script with -D (debug mode) and got:
I run this script in docker based on ubuntu. All necessary packet installed.
FROM ubuntu:20.04
What could be a problem?
I run this script with -D (debug mode) and got:
+ find /opt/st/stm32mp1/4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15 -maxdepth 1 -type f
+ xargs -n100 file
+ grep :.*\(ASCII\|script\|source\).*text
+ grep -Fv -e /opt/st/stm32mp1/4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/environment-setup- -e /opt/st/stm32mp1/4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/relocate_sdk -e /opt/st/stm32mp1/4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/post-relocate-setup -e /opt/st/stm32mp1/4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.sh
+ xargs -n100 sed -i -e s:/usr/local/oe-sdk-hardcoded-buildpath:/opt/st/stm32mp1/4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15:g -e s:^#! */usr/bin/perl.*:#! /usr/bin/env perl:g -e s: /usr/bin/perl: /usr/bin/env perl:g
+ awk -F: {printf "\"%s\"\n", $1}
+ find /opt/st/stm32mp1/4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/sysroots/x86_64-ostl_sdk-linux -type f
xargs: file: No such file or directory
sed: no input files
+ [ 123 -ne 0 ]
+ echo Failed to replace perl. Relocate script failed. Abort!
Failed to replace perl. Relocate script failed. Abort!