build & install latest kernel
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
ef0736e6ce
commit
544c8deef2
1 changed files with 13 additions and 18 deletions
|
@ -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
|
||||
)
|
Loading…
Reference in a new issue