wok-next rev 4312
aufs-utils: fix kernel path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 28 17:02:43 2009 +0200 (2009-09-28) |
parents | 75d2a59aee7a |
children | d4be90e180f7 |
files | aufs-utils/receipt |
line diff
1.1 --- a/aufs-utils/receipt Mon Sep 28 16:12:36 2009 +0200 1.2 +++ b/aufs-utils/receipt Mon Sep 28 17:02:43 2009 +0200 1.3 @@ -14,8 +14,12 @@ 1.4 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION 1.5 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git \ 1.6 $PACKAGE-$VERSION 1.7 + KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.8 + if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then 1.9 + tazwok cook linux 1.10 + fi 1.11 cd $src 1.12 - make && make DESTDIR=$PWD/_pkg install 1.13 + make KDIR=$WOK/linux/linux-$KERNEL_VERSION && make DESTDIR=$PWD/_pkg install 1.14 } 1.15 1.16 # Rules to gen a SliTaz package suitable for Tazpkg.