diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-12-23 04:29:59 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-12-23 04:29:59 -0200 |
commit | eca20366df90a363ca44d436ebd8c4c881774063 (patch) | |
tree | 45a1b8df0c85c7783dc2cc349d0cf5268718b94b /kernels/linux-libre-grsec-knock/linux.install | |
parent | 8cf8a53fe020f06efcef814bb6e2960a03e3a849 (diff) | |
parent | 7b6e08004392409f37fb28e2cd0f67e55a73e3b9 (diff) |
Merge branch 'master' of ssh://projects.parabola.nu:1863/~git/abslibre/abslibre
Diffstat (limited to 'kernels/linux-libre-grsec-knock/linux.install')
-rw-r--r-- | kernels/linux-libre-grsec-knock/linux.install | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/kernels/linux-libre-grsec-knock/linux.install b/kernels/linux-libre-grsec-knock/linux.install index 99069bc58..cee2a22fc 100644 --- a/kernels/linux-libre-grsec-knock/linux.install +++ b/kernels/linux-libre-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.15.6_gnu.201407232200-2) -lt 0 ]]; then - _uderef_warning + if [[ $(vercmp $2 3.17.7_gnu.201412211910-1) -lt 0 ]]; then + _uderef_news fi } |