summaryrefslogtreecommitdiff
path: root/system/glyptodon/patches/glyptodon.sh-1.2b-caps.diff
diff options
context:
space:
mode:
Diffstat (limited to 'system/glyptodon/patches/glyptodon.sh-1.2b-caps.diff')
-rw-r--r--system/glyptodon/patches/glyptodon.sh-1.2b-caps.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/glyptodon/patches/glyptodon.sh-1.2b-caps.diff b/system/glyptodon/patches/glyptodon.sh-1.2b-caps.diff
new file mode 100644
index 0000000000..9375b2feee
--- /dev/null
+++ b/system/glyptodon/patches/glyptodon.sh-1.2b-caps.diff
@@ -0,0 +1,19 @@
+--- glyptodon.sh.old 2010-09-14 22:45:49.000000000 +0200
++++ glyptodon.sh 2010-09-22 15:52:25.000000000 +0200
+@@ -196,11 +196,11 @@
+ # Verifye system is compatiable and has the tools to manage POSIX capabilities
+ if [ $CAPABILITIES ]
+ then
+- if ! grep -x "CONFIG_SECURITY_FILE_CAPABILITIES=y" /boot/config-`cat /proc/version | cut -d " " -f 3` &> /dev/null
+- then
+- writeAndLog "Error : Your kernel configuration does not allow file capabilities -> Abort script."
+- exit 1
+- fi
++# if ! grep -x "CONFIG_SECURITY_FILE_CAPABILITIES=y" /boot/config-`cat /proc/version | cut -d " " -f 3` &> /dev/null
++# then
++# writeAndLog "Error : Your kernel configuration does not allow file capabilities -> Abort script."
++# exit 1
++# fi
+ for tool in $CAPABILITIES_TOOLS
+ do
+ if ! command -v "$tool" &>/dev/null