SVN: geninitrd/trunk/geninitrd
glen
glen at pld-linux.org
Tue Mar 20 15:13:37 CET 2007
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
More information about the pld-cvs-commit
mailing list