summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-07-22 11:02:23 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-07-23 06:20:00 +0000
commita1364565d27d7d318d0eae4eb7679831395aa6fc (patch)
tree069b1877816fb0500b2e9f261b2ef3f50c4883a1 /abuild.in
parent42738f43d4215a09e1a054a065813c3bb88e22bd (diff)
downloadabuild-a1364565d27d7d318d0eae4eb7679831395aa6fc.tar.gz
abuild-a1364565d27d7d318d0eae4eb7679831395aa6fc.tar.bz2
abuild-a1364565d27d7d318d0eae4eb7679831395aa6fc.tar.xz
abuild-a1364565d27d7d318d0eae4eb7679831395aa6fc.zip
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
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/abuild.in b/abuild.in
index ec1b798..d3e4b02 100644
--- a/abuild.in
+++ b/abuild.in
@@ -82,7 +82,7 @@ cleanup() {
$SUDO_APK del --quiet $apk_opt_wait $uninstall_after
if cross_compiling; then
$SUDO_APK del --root "$CBUILDROOT" \
- --quiet $apk_opt_wait \
+ --no-scripts --quiet $apk_opt_wait \
$uninstall_after
fi
fi
@@ -1846,7 +1846,7 @@ builddeps() {
$SUDO_APK add --root "$CBUILDROOT" --repository "$abuildrepo" $apk_opt_wait \
--simulate --quiet $hostdeps || return 1
$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
return 0
fi
@@ -2050,7 +2050,7 @@ undeps (){
$SUDO_APK del $apk_opt_wait .makedepends-$pkgname
if cross_compiling; then
$SUDO_APK del --root "$CBUILDROOT" $apk_opt_wait \
- .makedepends-$pkgname
+ --no-scripts .makedepends-$pkgname
fi
}