From fb58e28527c54820427abe1cc88f8940cb4669db Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 25 Mar 2009 10:39:55 +0100 Subject: [PATCH] linux/next-build.sh: only builds, not install moved builddir to argv1 Signed-off-by: Nico Schottelius --- linux/next-build.sh | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/linux/next-build.sh b/linux/next-build.sh index 6261ab0..2ad05a0 100755 --- a/linux/next-build.sh +++ b/linux/next-build.sh @@ -21,7 +21,7 @@ # Script to build todays linux-next kernel # You have to have it cloned already in $builddir -builddir="$HOME/build/linux-next" +builddir="$1"; shift date="$(date +%Y%m%d)" name="next-$date" @@ -33,9 +33,11 @@ parallel="-j8" set -x cd "$builddir" - # update / change branch - git-fetch - git-checkout -b "$name" "$name" + # update from git + git fetch -v + + # checkout branch from tag: next- is not mergable! + git checkout -b "$name" "$name" # clean make $parallel clean @@ -45,13 +47,4 @@ parallel="-j8" # build make $parallel all - - # install - sudo make install - sudo make modules_install - - # script to regenerate grub.cfg (grub2) - sudo update-grub ) - -echo "Reboot should reboot to linux-next$date now ..."