pkg: relocation: also replace loader path
This commit is contained in:
parent
7ad0945e7e
commit
af17afe918
2
PKGBUILD
2
PKGBUILD
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user