wok rev 1061
busybox: add repack_cleanup in receipt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 15 15:44:48 2008 +0000 (2008-07-15) |
parents | 293e658657ce |
children | e5ace79a18af |
files | busybox/receipt |
line diff
1.1 --- a/busybox/receipt Tue Jul 15 15:17:39 2008 +0000 1.2 +++ b/busybox/receipt Tue Jul 15 15:44:48 2008 +0000 1.3 @@ -78,5 +78,16 @@ 1.4 1.5 post_install() 1.6 { 1.7 + ( cd ./$1 ; cpio -o -H newc | gzip -9 ) > \ 1.8 + $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT 1.9 +etc/dnsd.conf 1.10 +etc/inetd.conf 1.11 +etc/udhcpd.conf 1.12 +EOT 1.13 mv -f /etc/resolv.conf-busybox-install /etc/resolv.conf 1.14 } 1.15 + 1.16 +repack_cleanup() 1.17 +{ 1.18 + zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id ) 1.19 +}