chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove e-mail text and add Depends: line.
[bin.git]
/
get-kernel
1
#! /bin/sh -e
2
3
VERSION=$1
4
MAJOR=`expr $1 : '\(^[0-9]*\.[0-9]*\)'`
5
6
rm -f linux
7
wget -c ftp://ftp.kernel.org/pub/linux/kernel/v$MAJOR/linux-$VERSION.tar.bz2
8
tar xjvf linux-$VERSION.tar.bz2
9
rm -f linux-$VERSION.tar.bz2
10
mv linux linux-$VERSION
11
ln -s linux-$VERSION linux