wok-current diff linmodem-agrsm/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 | d597178c06d2 |
children | d3f0a5114b51 |
line diff
1.1 --- a/linmodem-agrsm/receipt Thu May 24 19:54:31 2012 +0200 1.2 +++ b/linmodem-agrsm/receipt Thu Aug 23 19:24:51 2012 +0200 1.3 @@ -10,7 +10,7 @@ 1.4 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.5 WGET_URL="$WEB_SITE/$TARBALL" 1.6 1.7 -BUILD_DEPENDS="linux linux-module-headers lzma" 1.8 +BUILD_DEPENDS="linux linux-module-headers xz" 1.9 1.10 # Rules to configure and make the package. 1.11 compile_rules() 1.12 @@ -29,10 +29,12 @@ 1.13 mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/drivers/net 1.14 1.15 # Compress and install module 1.16 - lzma e $src/agrmodem.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/agrmodem.ko.gz 1.17 - lzma e $src/agrserial.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/agrserial.ko.gz 1.18 - chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.gz 1.19 - chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.gz 1.20 + cp $src/agrmodem.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/ 1.21 + xz $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/agrmodem.ko.gz 1.22 + cp $src/agrserial.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/ 1.23 + xz $src/agrserial.ko $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/agrserial.ko.gz 1.24 + chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.xz 1.25 + chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/net/*.ko.xz 1.26 } 1.27 1.28 post_install()