summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-lts-grsec-knock/linux.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-12-23 03:20:48 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-12-23 03:20:48 -0200
commit70a40c8aa62daae8e312435835317e9a63f0f287 (patch)
tree6ab23e84dc6c912b18111549cf51cb4e205672a3 /kernels/linux-libre-lts-grsec-knock/linux.install
parentf6e042da02e76cc79b6acaf5b3a8a0704f8bc59a (diff)
downloadabslibre-70a40c8aa62daae8e312435835317e9a63f0f287.tar.gz
abslibre-70a40c8aa62daae8e312435835317e9a63f0f287.tar.bz2
abslibre-70a40c8aa62daae8e312435835317e9a63f0f287.zip
linux-libre-lts-grsec{,-knock}: the UDEREF PCID bug has been fixed
Diffstat (limited to 'kernels/linux-libre-lts-grsec-knock/linux.install')
-rw-r--r--kernels/linux-libre-lts-grsec-knock/linux.install15
1 files changed, 6 insertions, 9 deletions
diff --git a/kernels/linux-libre-lts-grsec-knock/linux.install b/kernels/linux-libre-lts-grsec-knock/linux.install
index 19b161976..cdd4fc784 100644
--- a/kernels/linux-libre-lts-grsec-knock/linux.install
+++ b/kernels/linux-libre-lts-grsec-knock/linux.install
@@ -4,13 +4,12 @@
KERNEL_NAME=
KERNEL_VERSION=
-_uderef_warning() {
+_uderef_news() {
if [[ $(uname -m) = x86_64 ]]; then
cat <<EOF
-CONFIG_PAX_MEMORY_UDEREF is now enabled on x86_64 and can be disabled by
-passing \`pax_nouderef\` on the kernel line. UDEREF's PCID support on Sandy
-Bridge and later is known to have issues with recent kernel versions and can be
-disabled by passing \`nopcid\` to use the legacy implementation.
+The UDEREF PCID bug has been fixed. If you added \`nopcid\` or \`pax_nouderef\`
+to the kernel line as a workaround it should now be removed to take advantage
+of the stronger PCID-based UDEREF implementation.
EOF
fi
}
@@ -21,8 +20,6 @@ post_install () {
depmod ${KERNEL_VERSION}
echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
mkinitcpio -p linux-libre${KERNEL_NAME}
-
- _uderef_warning
}
post_upgrade() {
@@ -46,8 +43,8 @@ post_upgrade() {
echo ">>> include the 'keyboard' hook in your mkinitcpio.conf."
fi
- if [[ $(vercmp $2 3.14.18_gnu.201409082127-2) -lt 0 ]]; then
- _uderef_warning
+ if [[ $(vercmp $2 3.14.27_gnu.201412211908-1) -lt 0 ]]; then
+ _uderef_news
fi
}