Update of /cvsroot/devil-linux/build/scripts/config
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv17116/config
Added Files:
initrd_initramfs.linuxrc.diff
Log Message:
- initial INITRAMFS support
--- NEW FILE: initrd_initramfs.linuxrc.diff ---
diff -aur old/linuxrc new/linuxrc
--- old/linuxrc 2008-05-15 07:26:13.000000000 -0400
+++ new/linuxrc 2008-05-15 07:26:12.000000000 -0400
@@ -441,12 +441,7 @@
# start the system by swapping /dev/ram0 and /shm
echo "Starting up final system..."
-cd /cdrom
-
-#change to new root and start up the real system
-pivot_root . initrd
-cd / # see "man 2 pivot_root"
-exec /usr/sbin/chroot . /sbin/pre_init $DL_CONFIG_SOURCE $DL_CONFIG_FILE $@ <shm/dev/console >shm/dev/console 2>&1
+exec switch_root /cdrom /sbin/pre_init
# something went wrong
echo
|