#!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