wok rev 4154

Fix: coreutils-operations dont remove cp/rm in post_install, we need them to install
author Christophe Lincoln <pankso@slitaz.org>
date Mon Sep 21 21:04:25 2009 +0200 (2009-09-21)
parents 6ef3727f527d
children 0963d7e179f2
files coreutils-operations/receipt
line diff
     1.1 --- a/coreutils-operations/receipt	Mon Sep 21 13:37:43 2009 +0200
     1.2 +++ b/coreutils-operations/receipt	Mon Sep 21 21:04:25 2009 +0200
     1.3 @@ -18,10 +18,10 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	mkdir -p $fs/bin
     1.7 -	cp -a $_pkg/usr/bin/cp $fs/bin
     1.8 +	#cp -a $_pkg/usr/bin/cp $fs/bin
     1.9  	cp -a $_pkg/usr/bin/dd $fs/bin
    1.10  	cp -a $_pkg/usr/bin/mv $fs/bin
    1.11 -	cp -a $_pkg/usr/bin/rm $fs/bin
    1.12 +	#cp -a $_pkg/usr/bin/rm $fs/bin
    1.13  
    1.14  	mkdir -p $fs/usr/bin
    1.15  	cp -a $_pkg/usr/bin/install $fs/usr/bin
    1.16 @@ -37,8 +37,12 @@
    1.17  	root=$1
    1.18  	echo "Processing pre-install commands..."
    1.19  	echo -n "Removing all Busybox replaced utils... "
    1.20 -	rm -f $root/bin/cp $root/bin/dd $root/bin/mv $root/bin/rm
    1.21 +	rm -f $root/bin/dd $root/bin/mv
    1.22  	rm -f $root/usr/bin/install $root/usr/bin/shred
    1.23 +	# Dont remove cp/rm or the installation will fail because tazpkg use
    1.24 +	# cp and rm during the process.
    1.25 +	#
    1.26 +	#rm -f $root/bin/cp $root/bin/rm
    1.27  	status
    1.28  }
    1.29