From a1364565d27d7d318d0eae4eb7679831395aa6fc Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Fri, 22 Jul 2016 11:02:23 +0000 Subject: 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 --- abuild.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'abuild.in') 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 } -- cgit v1.2.3-70-g09d2