wok-4.x diff linux-libre-source/stuff/get-linux-source @ rev 11396

Update linux-libre according to changes made to linux (since months)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 06:11:04 2011 +0100 (2011-12-10)
parents abe27fd0192d
children
line diff
     1.1 --- a/linux-libre-source/stuff/get-linux-source	Tue Mar 15 03:23:44 2011 +0100
     1.2 +++ b/linux-libre-source/stuff/get-linux-source	Sat Dec 10 06:11:04 2011 +0100
     1.3 @@ -6,6 +6,10 @@
     1.4  VERSION=XXX
     1.5  
     1.6  url=$(cat /usr/src/kernel-patches/slitaz/url)
     1.7 +for i in http://linux-kernel.uio.no/pub http://www.gtlib.gatech.edu/pub/kernel.org http://www.kernel.org/pub ; do
     1.8 +	busybox wget -s $url && break
     1.9 +	url=$(echo $url | sed "s|.*/linux/kernel|$i/linux/kernel|")
    1.10 +done
    1.11  
    1.12  if [ ! -d $SOURCES_REPOSITORY ]; then
    1.13  	mkdir -p $SOURCES_REPOSITORY
    1.14 @@ -40,6 +44,8 @@
    1.15  done < slitaz/patches
    1.16  [ ! -f System.map ] && cp slitaz/config .config &&
    1.17  make oldconfig && make modules_prepare
    1.18 +ln -s /usr/src/linux-$VERSION /lib/modules/$VERSION-slitaz/build
    1.19 +ln -s linux-$VERSION /usr/src/linux
    1.20  
    1.21  	cat <<EOT
    1.22  ----