ppcrcd/trunk/initrd.dir/linuxrc

sparky cvs at pld-linux.org
Sun Mar 26 15:33:14 CEST 2006


Author: sparky
Date: Sun Mar 26 15:33:11 2006
New Revision: 7322

Modified:
   ppcrcd/trunk/initrd.dir/linuxrc
Log:
- fixes for new busybox


Modified: ppcrcd/trunk/initrd.dir/linuxrc
==============================================================================
--- ppcrcd/trunk/initrd.dir/linuxrc	(original)
+++ ppcrcd/trunk/initrd.dir/linuxrc	Sun Mar 26 15:33:11 2006
@@ -27,7 +27,7 @@
 }
 
 modload() {
-	$B/echo -e -n "\r${cB}$1${cE}:	"
+	$B/echo -e "- ${cB}$1${cE}"
 	$B/insmod $P/lib/modules/$1.ko 2>$P/dev/null
 }
 
@@ -172,9 +172,9 @@
 $B/echo "${cY}***** Preparing root *****${cE}"
 
 # Prepare our new root
-mount -n -t tmpfs none /rootfs
+$B/mount -n -t tmpfs none /rootfs
 cd /rootfs
-mkdir -p live initrd media/ppcrcd tmp proc boot lib bin usr sbin sys selinux
+$B/mkdir -p live initrd media/ppcrcd tmp proc boot lib bin usr sbin sys selinux
 
 
 $B/pivot_root . initrd
@@ -231,7 +231,7 @@
 		/usr/lib/ppcrcd/xmluntar.pl
 	$B/test -r etc/fstab.add && \
 		{ $B/echo "#Saved:"; $B/cat etc/fstab.add; } >> etc/fstab
-	$B/rm -f etc/fstab.add	
+	/bin/rm -f etc/fstab.add	
 fi
 
 /bin/cp -a /etc/skel /root


More information about the pld-cvs-commit mailing list