wok-next rev 7202
Put AUFSDIR in linux-source. This way it will copy aufs2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 09 16:05:18 2010 +0000 (2010-11-09) |
parents | 5fe9123fe7e2 |
children | 97e83da4a0f6 |
files | linux-source/receipt |
line diff
1.1 --- a/linux-source/receipt Tue Nov 09 05:20:22 2010 +0000 1.2 +++ b/linux-source/receipt Tue Nov 09 16:05:18 2010 +0000 1.3 @@ -12,6 +12,8 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 + local _AUFSVER="20101105" 1.8 + local AUFSDIR="aufs2-${_AUFSVER}-${VERSION}" 1.9 mkdir -p $fs/usr/src/kernel-patches \ 1.10 $fs/lib/modules/$VERSION-slitaz \ 1.11 $fs/usr/bin 1.12 @@ -21,10 +23,10 @@ 1.13 cp -a stuff/get-linux-source $fs/usr/bin 1.14 sed -i "s|=XXX|=$VERSION|g" $fs/usr/bin/get-linux-source 1.15 # Copy Aufs2 source files 1.16 - if [ -d $WOK/$WANTED/aufs2 ]; then 1.17 + if [ -d $WOK/$WANTED/$AUFSDIR ]; then 1.18 mkdir $fs/usr/src/kernel-patches/slitaz/aufs2 1.19 - cp -a $WOK/$WANTED/aufs2/Documentation \ 1.20 - $WOK/$WANTED/aufs2/fs $WOK/$WANTED/aufs2/include \ 1.21 + cp -a $WOK/$WANTED/$AUFSDIR/Documentation \ 1.22 + $WOK/$WANTED/$AUFSDIR/fs $WOK/$WANTED/$AUFSDIR/include \ 1.23 $fs/usr/src/kernel-patches/slitaz/aufs2 1.24 fi 1.25 ln -s /usr/src/linux-$VERSION \