Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/virtualbox
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-01-18 16:16:29 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-01-18 16:16:29 +0100
commit0efa0a585048797b04c0db85d456d46c13a34907 (patch)
tree7ef3457cd4eb1efeb01d5c9d6ce131963385dbb9 /community/virtualbox
parentdef4983ac2939e85aeaca476f9eb21f0c6c4edd4 (diff)
community/virtualbox: do sysctl manually
Diffstat (limited to 'community/virtualbox')
-rw-r--r--community/virtualbox/PKGBUILD18
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)