linux/next-build.sh: only builds, not install

moved builddir to argv1

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-03-25 10:39:55 +01:00
parent 6c816461ff
commit fb58e28527

View file

@ -21,7 +21,7 @@
# Script to build todays linux-next kernel # Script to build todays linux-next kernel
# You have to have it cloned already in $builddir # You have to have it cloned already in $builddir
builddir="$HOME/build/linux-next" builddir="$1"; shift
date="$(date +%Y%m%d)" date="$(date +%Y%m%d)"
name="next-$date" name="next-$date"
@ -33,9 +33,11 @@ parallel="-j8"
set -x set -x
cd "$builddir" cd "$builddir"
# update / change branch # update from git
git-fetch git fetch -v
git-checkout -b "$name" "$name"
# checkout branch from tag: next- is not mergable!
git checkout -b "$name" "$name"
# clean # clean
make $parallel clean make $parallel clean
@ -45,13 +47,4 @@ parallel="-j8"
# build # build
make $parallel all 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 ..."