aboutsummaryrefslogtreecommitdiffstats
path: root/testing/flashrom/flashrom.post-install
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@tetrasec.net>2010-08-19 21:19:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-20 12:08:54 +0000
commit72157cb0ed81d9cedbcfa01bc7a734aa45f3dce1 (patch)
tree52e75b5a25b478df06970d413f0b9d12842a5165 /testing/flashrom/flashrom.post-install
parent1e33b7eab5f93075308e651c0be053bd3a572a3b (diff)
downloadaports-72157cb0ed81d9cedbcfa01bc7a734aa45f3dce1.tar.gz
aports-72157cb0ed81d9cedbcfa01bc7a734aa45f3dce1.tar.bz2
aports-72157cb0ed81d9cedbcfa01bc7a734aa45f3dce1.tar.xz
testing/dmidecode: new aport (dependency for flashrom)
dmidecode reports system hardware information stored in BIOS testing/flashrom: r1 - add dependency on dmidecode print warning if installed on grsec kernel
Diffstat (limited to 'testing/flashrom/flashrom.post-install')
-rwxr-xr-xtesting/flashrom/flashrom.post-install15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/flashrom/flashrom.post-install b/testing/flashrom/flashrom.post-install
new file mode 100755
index 0000000000..b7919f5fd1
--- /dev/null
+++ b/testing/flashrom/flashrom.post-install
@@ -0,0 +1,15 @@
+#!/bin/sh
+if [ -e /proc/sys/kernel/grsecurity/ ]; then
+cat - <<EOF
+
+ ************[ flashrom package installation notice ]****************
+
+ You appear to be running a grsec enabled kernel.
+ flashrom needs write access to /dev/mem and will likely not work
+
+ *********************************************************************
+
+EOF
+fi
+exit 0
+