wok-current rev 1885

aufs, ndiswrapper-driver : compress kernel module
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 17 16:11:31 2008 +0000 (2008-12-17)
parents f0963019ca5a
children 58cd4d37bd77
files aufs/receipt ndiswrapper-driver/receipt
line diff
     1.1 --- a/aufs/receipt	Wed Dec 17 15:09:01 2008 +0000
     1.2 +++ b/aufs/receipt	Wed Dec 17 16:11:31 2008 +0000
     1.3 @@ -7,7 +7,7 @@
     1.4  MAINTAINER="pascal.bellard@ads-lu.com"
     1.5  WEB_SITE="http://$PACKAGE.sourceforge.net/"
     1.6  DEPENDS="aufs-module"
     1.7 -BUILD_DEPENDS="cvs"
     1.8 +BUILD_DEPENDS="cvs lzma"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12 @@ -28,7 +28,8 @@
    1.13  	make KDIR=$(cd ../../linux/linux-$kver* ; pwd) -f local.mk
    1.14  	mkdir -p _pkg/lib/modules/$kver-slitaz/kernel/fs/aufs/ _pkg/sbin
    1.15  	mkdir -p _pkg/etc/default
    1.16 -	cp $(readlink aufs.ko) _pkg/lib/modules/$kver-slitaz/kernel/fs/aufs/
    1.17 +	lzma e $(readlink aufs.ko) \
    1.18 +        	_pkg/lib/modules/$kver-slitaz/kernel/fs/squashfs/aufs.ko.gz
    1.19  	cp util/etc_default_aufs _pkg/etc/default/aufs
    1.20  	chmod 644 _pkg/etc/default/aufs
    1.21  	echo FLUSH=ALL > _pkg/etc/default/auplink
     2.1 --- a/ndiswrapper-driver/receipt	Wed Dec 17 15:09:01 2008 +0000
     2.2 +++ b/ndiswrapper-driver/receipt	Wed Dec 17 16:11:31 2008 +0000
     2.3 @@ -5,7 +5,7 @@
     2.4  CATEGORY="system-tools"
     2.5  SHORT_DESC="Add Windows network drivers support to Linux kernel."
     2.6  MAINTAINER="erjo@slitaz.org"
     2.7 -DEPENDS="linux"
     2.8 +DEPENDS="linux lzma"
     2.9  BUILD_DEPENDS="slitaz-toolchain"
    2.10  SOURCE="ndiswrapper"
    2.11  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.12 @@ -39,7 +39,10 @@
    2.13  
    2.14  	# Compress and install module
    2.15  	#./stuff/gztazmod.sh $fs/lib/modules/$VERSION-slitaz
    2.16 -	install -o root -m O644 $src/driver/ndiswrapper.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc
    2.17 +	lzma e $src/driver/ndiswrapper.ko \
    2.18 +		$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko.gz
    2.19 +	chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko.gz
    2.20 +	chmod O644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko.gz
    2.21  }
    2.22  
    2.23  post_install()