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,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 ..."
|
|
||||||
)
|
)
|
Loading…
Reference in a new issue