Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)