wok-undigest diff nvidia-96xx/receipt @ rev 1038
gcc: remove wrong error trigger (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 14 22:33:37 2013 +0000 (2013-10-14) |
parents | 57f4e7e045e8 |
children | 135ad0e1fc7d |
line diff
1.1 --- a/nvidia-96xx/receipt Thu Aug 23 21:08:14 2012 +0200 1.2 +++ b/nvidia-96xx/receipt Mon Oct 14 22:33:37 2013 +0000 1.3 @@ -22,7 +22,8 @@ 1.4 cd $src/usr/src/nv/ 1.5 # Only use .unblocked_ioctl since 2.6.36 1.6 sed -i 's|\.ioctl|// &|' nv.c 1.7 - make SYSSRC="/usr/src/linux" module 2>&1 | sed s'/ERROR:/error:/' 1.8 + make SYSSRC="/usr/src/linux" module 2>&1 | sed s'/ERROR:/error:/' && 1.9 + xz nvidia.ko 1.10 } 1.11 1.12 # Rules to gen a SliTaz package suitable for Tazpkg. 1.13 @@ -35,9 +36,8 @@ 1.14 mkdir -p $fs/usr/share/doc/$PACKAGE 1.15 1.16 # Compress and install module 1.17 - cp $src/usr/src/nv/nvidia.ko \ 1.18 + cp $src/usr/src/nv/nvidia.ko.xz \ 1.19 $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/ 1.20 - xz $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/nvidia.ko 1.21 chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/nvidia.ko.xz 1.22 chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/nvidia.ko.xz 1.23