wok-6.x diff slitaz-base-files/receipt @ rev 1924

volatile.cpio.gz in receipt is incompatible with tazpkg stuff
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 23 10:31:12 2008 +0000 (2008-12-23)
parents 3b3cedd6c979
children 43431755fb4c
line diff
     1.1 --- a/slitaz-base-files/receipt	Sat Nov 08 13:44:37 2008 +0000
     1.2 +++ b/slitaz-base-files/receipt	Tue Dec 23 10:31:12 2008 +0000
     1.3 @@ -89,26 +89,6 @@
     1.4  {
     1.5  	local root
     1.6  	root=$1
     1.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
     1.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     1.9 -etc/adduser.conf
    1.10 -etc/passwd
    1.11 -etc/fstab
    1.12 -etc/issue
    1.13 -etc/hosts
    1.14 -etc/host.conf
    1.15 -etc/hostname
    1.16 -etc/group
    1.17 -etc/gshadow
    1.18 -etc/shadow
    1.19 -etc/daemons.conf
    1.20 -etc/nsswitch.conf
    1.21 -etc/networks
    1.22 -etc/profile
    1.23 -etc/securetty
    1.24 -etc/services
    1.25 -etc/shells
    1.26 -EOT
    1.27  	echo "Restoring files from /etc/etc.bak..."
    1.28  	cp -a $root/tmp/etc.bak/* $root/etc 2>/dev/null
    1.29  	rm -rf $root/tmp/etc.bak
    1.30 @@ -137,9 +117,6 @@
    1.31  		echo '' >> $root/etc/daemons.conf
    1.32  	fi
    1.33  }
    1.34 +
    1.35 +# We need this package on build host to install it in target directory
    1.36  SELF_INSTALL=1
    1.37 -
    1.38 -repack_cleanup()
    1.39 -{
    1.40 -	zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    1.41 -}