summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f91b8821098..69bc00ee8c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,10 +17,13 @@ pkgrel=1
options=("!strip")
source=("linux-zen.conf"
"linux-zen.preset"
- 'git://github.com/damentz/zen-kernel.git#branch=5.4/master')
+ 'git://github.com/damentz/zen-kernel.git#branch=5.4/master'
+ 'allow-disable-msr-lockdown.patch')
sha256sums=('6373073ad943e068478ef1373be4eb2a7e473da8743d946f1f50cd364685ab87'
'18fe6b2664a9a740544c4cb990efe5ec933d6e64caf9e5d0a6ced92af0027c2d'
- 'SKIP')
+ 'SKIP'
+ '2f4bedb64dde14045196702644f0c82ddb1271e3c5392657dd71c40af82ff3f1')
+
_CORES=1
# compress the modules or not
@@ -97,6 +100,9 @@ build() {
fi
fi
+ msg "Allowing disable of MSR in lockdown mode to allow undervolting and prevent false positives for spectre-meltdown-checker..."
+ patch -Np1 -i "${srcdir}/allow-disable-msr-lockdown.patch"
+
msg2 "Updating output directory Makefile..."
make -C "${srcdir}/zen-kernel/" O="${srcdir}/build" outputmakefile