Commit a1364565 authored by Timo Teräs's avatar Timo Teräs

abuild: use apk --no-scripts for target sysroot

we probably will not be able to run the scripts as it can
be incompatible system type
parent 42738f43
...@@ -82,7 +82,7 @@ cleanup() { ...@@ -82,7 +82,7 @@ cleanup() {
$SUDO_APK del --quiet $apk_opt_wait $uninstall_after $SUDO_APK del --quiet $apk_opt_wait $uninstall_after
if cross_compiling; then if cross_compiling; then
$SUDO_APK del --root "$CBUILDROOT" \ $SUDO_APK del --root "$CBUILDROOT" \
--quiet $apk_opt_wait \ --no-scripts --quiet $apk_opt_wait \
$uninstall_after $uninstall_after
fi fi
fi fi
...@@ -1846,7 +1846,7 @@ builddeps() { ...@@ -1846,7 +1846,7 @@ builddeps() {
$SUDO_APK add --root "$CBUILDROOT" --repository "$abuildrepo" $apk_opt_wait \ $SUDO_APK add --root "$CBUILDROOT" --repository "$abuildrepo" $apk_opt_wait \
--simulate --quiet $hostdeps || return 1 --simulate --quiet $hostdeps || return 1
$SUDO_APK add --root "$CBUILDROOT" --repository "$abuildrepo" $apk_opt_wait \ $SUDO_APK add --root "$CBUILDROOT" --repository "$abuildrepo" $apk_opt_wait \
--virtual .makedepends-$pkgname $hostdeps || return 1 --no-scripts --virtual .makedepends-$pkgname $hostdeps || return 1
fi fi
return 0 return 0
fi fi
...@@ -2050,7 +2050,7 @@ undeps (){ ...@@ -2050,7 +2050,7 @@ undeps (){
$SUDO_APK del $apk_opt_wait .makedepends-$pkgname $SUDO_APK del $apk_opt_wait .makedepends-$pkgname
if cross_compiling; then if cross_compiling; then
$SUDO_APK del --root "$CBUILDROOT" $apk_opt_wait \ $SUDO_APK del --root "$CBUILDROOT" $apk_opt_wait \
.makedepends-$pkgname --no-scripts .makedepends-$pkgname
fi fi
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment