SVN: geninitrd/trunk/geninitrd
sparky
sparky at pld-linux.org
Thu Feb 1 11:26:53 CET 2007
Author: sparky
Date: Thu Feb 1 11:26:53 2007
New Revision: 8218
Modified:
geninitrd/trunk/geninitrd
Log:
- maybe this way ?
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Thu Feb 1 11:26:53 2007
@@ -1553,6 +1553,14 @@
fi
umount /proc
exec switch_root /newroot \$init
+
+echo "Error ! initramfs should not reach this place."
+echo "It probably means you've got old version of busybox, with broken"
+echo "initramfs support. Trying to boot anyway, but won't promise anything."
+
+exec chroot /newroot \$init
+
+echo "Failed to chroot !"
EOF
# we need real file, not symlink
rm -f $MNTIMAGE/init
More information about the pld-cvs-commit
mailing list