diff options
author | Matt Parnell | 2019-11-30 19:22:54 -0600 |
---|---|---|
committer | Matt Parnell | 2019-11-30 19:22:54 -0600 |
commit | e4beff9c2624943dd72ef7980fd2e0b19e2ba7d6 (patch) | |
tree | b4afc9e09bc4f9e5d6ad7070261971645d48f5cf /PKGBUILD | |
parent | fd87a84b18ff5afe300f8edf7348877058cd9e5e (diff) | |
download | aur-e4beff9c2624943dd72ef7980fd2e0b19e2ba7d6.tar.gz |
add patch to allow msrs in lockdown mode
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |