diff options
author | pks <pks@pks.rocks> | 2021-06-01 21:45:35 +0200 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-06-01 21:45:35 +0200 |
commit | 5d3fc478d5e2f7d49a96f54d2606dab9589592f3 (patch) | |
tree | e75a6e9b17e8196887c7f53047a1b002861a3b22 /scripts/prepare | |
parent | f59636f30da2b02aad79cfc8b0678af949ca7214 (diff) |
prepare script
Diffstat (limited to 'scripts/prepare')
-rwxr-xr-x | scripts/prepare | 11 |
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 |