wok-next diff slim/receipt @ rev 1062
slitaz-tools, slitaz-boot-scripts, slim: add repack_cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 15 16:06:04 2008 +0000 (2008-07-15) |
parents | 610a9d47f7d6 |
children | 6f2d3769a339 |
line diff
1.1 --- a/slim/receipt Fri May 02 18:57:53 2008 +0200 1.2 +++ b/slim/receipt Tue Jul 15 16:06:04 2008 +0000 1.3 @@ -29,3 +29,15 @@ 1.4 cp -a stuff/etc $fs 1.5 } 1.6 1.7 +post_install() 1.8 +{ 1.9 + ( cd ./$1 ; cpio -o -H newc | gzip -9 ) > \ 1.10 + $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT 1.11 +etc/slim.conf 1.12 +EOT 1.13 +} 1.14 + 1.15 +repack_cleanup() 1.16 +{ 1.17 + zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id ) 1.18 +}