summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPetr Mrázek2011-03-20 02:06:50 +0100
committerPetr Mrázek2011-03-20 02:06:50 +0100
commitc06df18ea75285d2bdae75a3c1fbe70c0f157241 (patch)
tree5032f1091a677c6777d61c2d3ac774ac270d7f04 /package
parent467c50e97d74f7456d9100c2f4cf7d9006145b65 (diff)
downloaddfhack-c06df18ea75285d2bdae75a3c1fbe70c0f157241.tar.gz
dfhack-c06df18ea75285d2bdae75a3c1fbe70c0f157241.tar.bz2
dfhack-c06df18ea75285d2bdae75a3c1fbe70c0f157241.tar.xz
Fix linux builds not installing the header files
Diffstat (limited to 'package')
-rwxr-xr-xpackage/ubuntu-10.10/postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/ubuntu-10.10/postinst b/package/ubuntu-10.10/postinst
index ff117e8e..a628ada3 100755
--- a/package/ubuntu-10.10/postinst
+++ b/package/ubuntu-10.10/postinst
@@ -1,4 +1,7 @@
#!/bin/sh
echo "Setting required kernel parameters."
+# I actually do it three times, hoping to hammer this into Ubuntu's dense skull.
sysctl -w kernel.randomize_va_space=0
sysctl -w kernel.yama.ptrace_scope=0
+echo "kernel.randomize_va_space=0" >> /etc/sysctl.conf
+echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf \ No newline at end of file