summaryrefslogtreecommitdiff
path: root/scripts/prepare
diff options
context:
space:
mode:
authorpks <pks@pks.rocks>2021-06-01 21:45:35 +0200
committerpks <pks@pks.rocks>2021-06-01 21:45:35 +0200
commit5d3fc478d5e2f7d49a96f54d2606dab9589592f3 (patch)
treee75a6e9b17e8196887c7f53047a1b002861a3b22 /scripts/prepare
parentf59636f30da2b02aad79cfc8b0678af949ca7214 (diff)
prepare script
Diffstat (limited to 'scripts/prepare')
-rwxr-xr-xscripts/prepare11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/prepare b/scripts/prepare
new file mode 100755
index 0000000..e5a781c
--- /dev/null
+++ b/scripts/prepare
@@ -0,0 +1,11 @@
+#!env zsh
+
+if [[ ! -f ../config || ! -d ../patches ]]; then
+ echo "Likely not in kernel dir, exiting"
+ exit 1
+fi
+
+cp ../config .config
+patch -p1 < ../patches/O3.patch
+patch -p1 < ../patches/patch-*.*-ck1
+make oldconfig