wok rev 4611

add ln to coreutils-operations
author Rohit Joshi <jozee@slitaz.org>
date Wed Dec 16 19:25:37 2009 +0000 (2009-12-16)
parents 2da8547f534b
children c7adce465b63
files coreutils-operations/receipt
line diff
     1.1 --- a/coreutils-operations/receipt	Tue Dec 15 16:48:44 2009 +0000
     1.2 +++ b/coreutils-operations/receipt	Wed Dec 16 19:25:37 2009 +0000
     1.3 @@ -21,6 +21,7 @@
     1.4  	#cp -a $_pkg/usr/bin/cp $fs/bin
     1.5  	cp -a $_pkg/usr/bin/dd $fs/bin
     1.6  	cp -a $_pkg/usr/bin/mv $fs/bin
     1.7 +	cp -a $_pkg/usr/bin/ln $fs/bin
     1.8  	#cp -a $_pkg/usr/bin/rm $fs/bin
     1.9  
    1.10  	mkdir -p $fs/usr/bin
    1.11 @@ -37,7 +38,7 @@
    1.12  	root=$1
    1.13  	echo "Processing pre-install commands..."
    1.14  	echo -n "Removing all Busybox replaced utils... "
    1.15 -	rm -f $root/bin/dd $root/bin/mv
    1.16 +	rm -f $root/bin/dd $root/bin/mv $root/bin/ln
    1.17  	rm -f $root/usr/bin/install $root/usr/bin/shred
    1.18  	# Dont remove cp/rm or the installation will fail because tazpkg use
    1.19  	# cp and rm during the process.
    1.20 @@ -51,6 +52,7 @@
    1.21  	ln -s /bin/busybox /bin/cp
    1.22  	ln -s /bin/busybox /bin/dd
    1.23  	ln -s /bin/busybox /bin/mv
    1.24 +	ln -s /bin/busybox /bin/ln
    1.25  	ln -s /bin/busybox /bin/rm
    1.26  	ln -s /bin/busybox /usr/bin/install
    1.27  	ln -s /bin/busybox /usr/bin/shred