Author: czarny
Date: Tue Dec 19 21:59:05 2006
New Revision: 8112
Modified:
geninitrd/trunk/geninitrd
Log:
- while using initramfs, rootfs mounter ro instaed rw
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Tue Dec 19 21:59:05 2006
@@ -1547,7 +1547,7 @@
fi
EOF
cat << EOF >> "$s"
-mount -t $rootFs \$device /newroot
+mount -t $rootFs -r \$device /newroot
init="\$(busybox awk ' /init=\// { gsub(/.*init=/,NIL,\$0); gsub(/
.*/,NIL,\$0); print \$0; } ' /proc/cmdline )"
if [ -z "\$init" -o ! -x "/newroot\$init" ]; then
init=/sbin/init
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit