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

View file

@ -25,6 +25,9 @@ parallel="-j8"
set -e
set -x
git fetch -v
git merge origin/master
# clean
make $parallel clean
@ -35,13 +38,5 @@ parallel="-j8"
make $parallel all
# install
sudo make install
sudo make modules_install
# script to regenerate grub.cfg (grub2)
sudo update-grub
version=$(cat include/config/kernel.release)
echo "Reboot should reboot to $version now ..."
sudo ~/bin/linux/install
)