build & install latest kernel

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-01-02 23:22:54 +01:00
parent ef0736e6ce
commit 544c8deef2
1 changed files with 13 additions and 18 deletions

View File

@ -25,23 +25,18 @@ parallel="-j8"
set -e set -e
set -x set -x
# clean git fetch -v
make $parallel clean git merge origin/master
# create config - use the last one, as far as possible # clean
make oldconfig make $parallel clean
# build # create config - use the last one, as far as possible
make $parallel all make oldconfig
# install # build
sudo make install make $parallel all
sudo make modules_install
# script to regenerate grub.cfg (grub2) # install
sudo update-grub sudo ~/bin/linux/install
version=$(cat include/config/kernel.release)
echo "Reboot should reboot to $version now ..."
) )