[readonly/geninitrd/BUSYBOX: 16/113] - use strash instead ash.static - added making /dev/zero on initrd (required by trash).

draenog draenog at pld-linux.org
Sat Nov 2 19:11:22 CET 2013


commit 3e4d494e028c19d05aef267d1b65b38e07418042
Author: kloczek <kloczek at pld-linux.org>
Date:   Wed Dec 6 19:36:16 2000 +0000

    - use strash instead ash.static
    - added making /dev/zero on initrd (required by trash).
    
    
    svn-id: @1168

 geninitrd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 43bd29f..a999295 100755
--- a/geninitrd
+++ b/geninitrd
@@ -368,7 +368,7 @@ mkdir -p $MNTIMAGE/{lib,bin,etc,dev,loopfs}
 # We don't need this directory, so let's save space
 rm -rf $MNTPOINT/lost+found
 
-inst /bin/ash.static "$MNTIMAGE/bin/sh"
+inst /bin/trash "$MNTIMAGE/bin/sh"
 inst /sbin/insmod.static "$MNTIMAGE/bin/insmod"
 
 for MODULE in $MODULES; do
@@ -384,6 +384,7 @@ mknod $MNTIMAGE/dev/systty c 4 0
 for i in 1 2 3 4; do
     mknod $MNTIMAGE/dev/tty$i c 4 1
 done
+mknod $MNTIMAGE/dev/zero c 1 5
 
 echo "#!/bin/sh" > $RCFILE
 echo "" >> $RCFILE
@@ -436,4 +437,3 @@ else
     cp -a $IMAGE $target
 fi
 rm -rf $MNTIMAGE $MNTPOINT $IMAGE
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/0999a53e93eedcf489380684b998ce04aaddf11c



More information about the pld-cvs-commit mailing list