wok-current rev 7111
Fixed get-linux-source script again in linux-source (i hope). Fixed path for url file.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 20:09:13 2010 +0000 (2010-11-03) |
parents | bd3ed7d16aca |
children | 50c03a002022 |
files | linux-source/stuff/get-linux-source |
line diff
1.1 --- a/linux-source/stuff/get-linux-source Wed Nov 03 18:05:23 2010 +0000 1.2 +++ b/linux-source/stuff/get-linux-source Wed Nov 03 20:09:13 2010 +0000 1.3 @@ -3,7 +3,7 @@ 1.4 source /etc/tazwok.conf 1.5 VERSION=XXX 1.6 1.7 -url=$(cat /usr/src/kernel-patches/url) 1.8 +url=$(cat /usr/src/kernel-patches/slitaz/url) 1.9 1.10 if [ ! -d $SOURCES_REPOSITORY ]; then 1.11 mkdir -p $SOURCES_REPOSITORY 1.12 @@ -19,8 +19,10 @@ 1.13 fi 1.14 1.15 cp -a /usr/src/kernel-patches/slitaz /usr/src/linux-$VERSION 1.16 +if [ -d /usr/src/linux-$VERSION/sltiaz/aufs2 ]; then 1.17 + cp -pa /usr/src/linux-$VERSION/slitaz/aufs2/* /usr/src/linux-$VERSION 1.18 +fi 1.19 1.20 -cp -pa /usr/src/linux-$VERSION/slitaz/aufs2/* /usr/src/linux-$VERSION 1.21 # Add tazpkg support 1.22 if [ -d "/usr/src/linux-$VERSION/scripts/package" ]; then 1.23 cp -pa /usr/src/linux-$VERSION/slitaz/buildtaz /usr/src/linux-$VERSION/scripts/package