Call switch_root with full path
authorAndrew Gaffney <agaffney@gentoo.org>
Fri, 14 Nov 2008 19:58:33 +0000 (13:58 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Fri, 14 Nov 2008 19:58:33 +0000 (13:58 -0600)
ChangeLog
defaults/initrd.scripts
defaults/linuxrc

index 1ac994b414f98af913a07eb7e97f2401d36e18a8..d0f466b2da3138b7bee3d1f72bd41c4240a6ef33 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
 # Distributed under the GPL v2
 
+  14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts,
+  defaults/linuxrc:
+  Call switch_root with full path
+
   14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/linuxrc:
   Call switch_root with 'env -i' to clean out the kernel-defined key/value
   pairs
index 0de1e1f59b2c2f38136c0386d987738303e372ce..4dfc4ad20a542fb8195878092224467118f7a896 100644 (file)
@@ -991,8 +991,8 @@ setup_unionfs() {
 #                                 mount -t tmpfs tmpfs $MEMORY          
 #                         fi    
 #                 else          
-                         good_msg "Mounting ramdisk to $MEMORY for unionfs support..."          
-                         mount -t tmpfs tmpfs $MEMORY   
+#                         good_msg "Mounting ramdisk to $MEMORY for unionfs support..."         
+#                         mount -t tmpfs tmpfs $MEMORY          
 #                 fi    
         
                mkdir /tmp
index ba5d0c7e31deba1bf70334d60234355d6b602345..84b23a0aaf421d580788a6d51ea683059aa0b21f 100644 (file)
@@ -668,7 +668,7 @@ umount /sys || echo '*: Failed to unmount the ramdisk /sys!'
 umount /proc || echo '*: Failed to unmount the ramdisk /proc!'
 echo -e "${BOLD}.${NORMAL}"
 
-exec env -i switch_root -c "/dev/console" "${CHROOT}" "${REAL_INIT:-/sbin/init}" "${INIT_OPTS}"
+exec env -i /sbin/switch_root -c "/dev/console" "${CHROOT}" "${REAL_INIT:-/sbin/init}" "${INIT_OPTS}"
 
 # If we get here, something bad has happened
 splash 'verbose'