From 0efa0a585048797b04c0db85d456d46c13a34907 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 18 Jan 2018 16:16:29 +0100 Subject: community/virtualbox: do sysctl manually --- community/virtualbox/PKGBUILD | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'community/virtualbox/PKGBUILD') diff --git a/community/virtualbox/PKGBUILD b/community/virtualbox/PKGBUILD index f61f4ce3..0048ddcc 100644 --- a/community/virtualbox/PKGBUILD +++ b/community/virtualbox/PKGBUILD @@ -1,20 +1,4 @@ -# avoid "virtual memory exhausted: Operation not permitted" -# note: proper sudo rights for the user running the build slave are necessare -eval "$( - declare -f build | \ - sed ' - /source/ i \ sudo sysctl vm.mmap_min_addr=0 - ' -)" - -# restore the default after building vboxwebsrv -# (On Arch 65536 seems to be the boot-default) -eval "$( - declare -f build | \ - sed ' - /kmk.*packing/ a \ sudo sysctl vm.mmap_min_addr=65536 - ' -)" +# set manually sysctl vm.mmap_min_addr=0 before building this package # Parallel builds lead to "virtual memory exhausted"? # not sure, if still needed (or in fact, working) -- cgit v1.2.3-70-g09d2