wok-6.x rev 15637

aufs: run xz in compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 20:16:16 2013 +0000 (2013-12-09)
parents e05a30fbddf6
children 773c1b6e7f21
files aufs/receipt
line diff
     1.1 --- a/aufs/receipt	Mon Dec 09 17:29:30 2013 +0000
     1.2 +++ b/aufs/receipt	Mon Dec 09 20:16:16 2013 +0000
     1.3 @@ -44,6 +44,7 @@
     1.4  	sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile
     1.5  	sed -i "s:__user::g" include/linux/aufs_type.h
     1.6  	make -j 1 KDIR=/usr/src/linux
     1.7 +	xz fs/aufs/aufs.ko
     1.8  }
     1.9  
    1.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.11 @@ -53,8 +54,7 @@
    1.12  	BASEVER=${KERNEL_VERSION:0:3}
    1.13  	EXTRAVERSION=_$BASEVER
    1.14  	mkdir -p $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs
    1.15 -	cp $src/fs/aufs/aufs.ko $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/
    1.16 -	xz $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko
    1.17 +	cp $src/fs/aufs/aufs.ko.xz $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/
    1.18  	chown root $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.xz
    1.19  	chmod 0644 $fs/lib/modules/$BASEVER-slitaz/kernel/fs/aufs/aufs.ko.xz
    1.20  	install -D -m 644 $src/include/linux/aufs_type.h \