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
make oldconfig
# build # clean
make $parallel all make $parallel clean
# install # create config - use the last one, as far as possible
sudo make install make oldconfig
sudo make modules_install
# build
# script to regenerate grub.cfg (grub2) make $parallel all
sudo update-grub
# install
version=$(cat include/config/kernel.release) sudo ~/bin/linux/install
echo "Reboot should reboot to $version now ..."
) )