summarylogtreecommitdiffstats
path: root/tomoyo-tools.install
diff options
context:
space:
mode:
Diffstat (limited to 'tomoyo-tools.install')
-rw-r--r--tomoyo-tools.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/tomoyo-tools.install b/tomoyo-tools.install
new file mode 100644
index 000000000000..e5777b46efc6
--- /dev/null
+++ b/tomoyo-tools.install
@@ -0,0 +1,18 @@
+post_install () {
+ echo " * To enable TOMOYO Linux, append 'security=tomoyo' to the kernel"
+ echo ' boot options and initialize policy with this command:'
+ echo ' /usr/lib/tomoyo/init_policy'
+ echo ' Also you may pass TOMOYO_trigger parameter'
+ echo ' if CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER'
+ echo ' kernel option has wrong value'
+ echo ''
+ echo ' * Kernel version >=3.2 and <5.1 is required'
+ echo " Your version is $(uname -r)"
+ echo ' !! Using the wrong version may render your system unbootable'
+}
+
+post_upgrade () {
+ echo ' * Kernel version >=3.2 and <5.1 is required'
+ echo " Your version is $(uname -r)"
+ echo ' !! Using the wrong version may render your system unbootable'
+}