diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-01-18 16:16:29 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-01-18 16:16:29 +0100 |
commit | 0efa0a585048797b04c0db85d456d46c13a34907 (patch) | |
tree | 7ef3457cd4eb1efeb01d5c9d6ce131963385dbb9 /community/virtualbox | |
parent | def4983ac2939e85aeaca476f9eb21f0c6c4edd4 (diff) | |
download | packages-0efa0a585048797b04c0db85d456d46c13a34907.tar.xz |
community/virtualbox: do sysctl manually
Diffstat (limited to 'community/virtualbox')
-rw-r--r-- | community/virtualbox/PKGBUILD | 18 |
1 files changed, 1 insertions, 17 deletions
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) |