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 -x
|
||||
|
||||
# clean
|
||||
make $parallel clean
|
||||
|
||||
# create config - use the last one, as far as possible
|
||||
make oldconfig
|
||||
git fetch -v
|
||||
git merge origin/master
|
||||
|
||||
# build
|
||||
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 ..."
|
||||
# clean
|
||||
make $parallel clean
|
||||
|
||||
# create config - use the last one, as far as possible
|
||||
make oldconfig
|
||||
|
||||
# build
|
||||
make $parallel all
|
||||
|
||||
# install
|
||||
sudo ~/bin/linux/install
|
||||
)
|
Loading…
Reference in a new issue