mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-27 17:32:11 +00:00
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
This commit is contained in:
parent
42738f43d4
commit
a1364565d2
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user