Author: glen
Date: Tue Mar 20 15:13:36 2007
New Revision: 8391

Modified:
   geninitrd/trunk/geninitrd
Log:
- do not redirect output from function, output could be unpredictable

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd   (original)
+++ geninitrd/trunk/geninitrd   Tue Mar 20 15:13:36 2007
@@ -1084,7 +1084,7 @@
        tmpfs_dev=yes
 
        busybox_applet mount mknod mkdir
-       cat <<-EOF
+       cat >> "$s" <<-EOF
 : 'Creating /dev'
 mount -o mode=0755 -t tmpfs none /dev
 mknod /dev/console c 5 1
@@ -1111,7 +1111,7 @@
        inst /etc/udev/udev.conf $MNTIMAGE/etc/udev/udev.conf
 
        if is_yes "$USE_UDEV"; then
-               initrd_gen_tmpfs_dev >> "$s"
+               initrd_gen_tmpfs_dev
                cat >> "$s" <<- 'EOF'
                        mount -t proc none /proc
                        mount -t sysfs none /sys
@@ -1272,7 +1272,7 @@
 
        # always make /dev on tmpfs for LVM2
        if [ "$LVMTOOLSVERSION" = "2" ] && ! is_yes "$tmpfs_dev"; then
-               initrd_gen_tmpfs_dev >> "$s"
+               initrd_gen_tmpfs_dev
        fi
 
        if ! is_yes "$tmpfs_dev"; then
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to