wok-6.x diff aufs/receipt @ rev 13278

Compress modules with xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 19:24:51 2012 +0200 (2012-08-23)
parents 6f536abe4f0b
children 0b5df2bc8200
line diff
     1.1 --- a/aufs/receipt	Sun Apr 15 16:27:00 2012 +0200
     1.2 +++ b/aufs/receipt	Thu Aug 23 19:24:51 2012 +0200
     1.3 @@ -13,7 +13,7 @@
     1.4  COOK_OPT="!remove_src"
     1.5  
     1.6  DEPENDS="linux"
     1.7 -BUILD_DEPENDS="linux-module-headers git lzma"
     1.8 +BUILD_DEPENDS="linux-module-headers git xz"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12 @@ -52,10 +52,10 @@
    1.13  	BASEVER=${KERNEL_VERSION:0:3}
    1.14  	EXTRAVERSION=_$BASEVER
    1.15  	mkdir -p $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs
    1.16 -	lzma e $src/fs/aufs/aufs.ko \
    1.17 -		$fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.18 -	chown root $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.19 -	chown 0644 $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.20 +	cp $src/fs/aufs/aufs.ko $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/
    1.21 +	xz $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.gz
    1.22 +	chown root $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.xz
    1.23 +	chown 0644 $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.xz
    1.24  	install -D -m 644 $src/include/linux/aufs_type.h \
    1.25  		$fs/usr/include/linux/aufs_type.h
    1.26  }