pkg: relocation: also replace loader path

This commit is contained in:
Alexei Colin 2019-06-29 18:32:35 -04:00
parent 7ad0945e7e
commit af17afe918

View File

@ -103,7 +103,7 @@ package ()
./$_setupsh -d $pkgdir/$_installdir
# Strip package build path from prefix path
sed -i "s@\(relocate_sdk.py\s\+\)$pkgdir@\1@g" relocate_sdk.sh
sed -i "s@\(relocate_sdk.py\s\+\)${pkgdir}${_installdir} ${pkgdir}${_installdir}@\1 ${_installdir} ${_installdir}@g" relocate_sdk.sh
./relocate_sdk.sh
rm zephyr-sdk-*-hosttools-standalone-*.sh