#!/bin/sh -e patch -p1 < kernel-no-perl.patch cp .config oldconfig make olddefconfig # Store the build version in a file and a variable. read -r ver <