From 544c8deef22fbe239736b35c88fed72034714ed7 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 2 Jan 2012 23:22:54 +0100 Subject: [PATCH] build & install latest kernel Signed-off-by: Nico Schottelius --- .../{build-install-grub.sh => build-install} | 31 ++++++++----------- 1 file changed, 13 insertions(+), 18 deletions(-) rename linux/{build-install-grub.sh => build-install} (68%) diff --git a/linux/build-install-grub.sh b/linux/build-install similarity index 68% rename from linux/build-install-grub.sh rename to linux/build-install index d1a1982..36553d6 100755 --- a/linux/build-install-grub.sh +++ b/linux/build-install @@ -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 )