From dd269e0e8b9cf892ddb92043beeb4702efcee014 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 10 Feb 2010 18:05:06 +0100 Subject: check-kernel-updates: simple shell script to check for versions of stable kernels Signed-off-by: Marcin Juszkiewicz --- contrib/hrw/check-kernel-updates.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 contrib/hrw/check-kernel-updates.sh (limited to 'contrib') diff --git a/contrib/hrw/check-kernel-updates.sh b/contrib/hrw/check-kernel-updates.sh new file mode 100644 index 0000000000..389265a057 --- /dev/null +++ b/contrib/hrw/check-kernel-updates.sh @@ -0,0 +1,9 @@ + +echo "fetching list of changelogs" +#echo "ls ChangeLog-*" |lftp ftp://www.kernel.org/pub/linux/kernel/v2.6/> changes.txt + +for release in `seq 16 32`; +do + LATEST=`grep ChangeLog-2.6.$release changes.txt | sed -e "s/^.*ChangeLog-2.6.$release.//g"| sort -n -r|head -n1` + echo "latest patch: 2.6.$release.$LATEST" +done -- cgit v1.2.3