Magellan Linux

Diff of /trunk/mkinitrd-magellan/mkinitrd.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1792 by niro, Mon Apr 2 11:39:05 2012 UTC revision 1793 by niro, Mon Apr 2 11:40:49 2012 UTC
# Line 884  add_initrd 'for i in $(cat /proc/cmdline Line 884  add_initrd 'for i in $(cat /proc/cmdline
884  add_initrd 'if [ "${BREAK_ENABLED}" = "yes" ]; then echo "-- Break requested, type 'exit' to resume operation ..."; ash; fi'  add_initrd 'if [ "${BREAK_ENABLED}" = "yes" ]; then echo "-- Break requested, type 'exit' to resume operation ..."; ash; fi'
885    
886  add_initrd 'echo "-- Switching to real sysroot ..."'  add_initrd 'echo "-- Switching to real sysroot ..."'
887  add_initrd 'umount /dev'  add_initrd 'mount --move /dev /sysroot/dev'
888  add_initrd 'umount /sys'  add_initrd 'mount --move /sys /sysroot/sys'
889  add_initrd 'umount /proc'  add_initrd 'mount --move /proc /sysroot/proc'
890    
891  [[ ${IMAGE_TYPE} = initramfs ]] && add_initrd 'exec run-init /sysroot ${INITEXEC} $@ </sysroot/dev/console >/sysroot/dev/console'  [[ ${IMAGE_TYPE} = initramfs ]] && add_initrd 'exec run-init /sysroot ${INITEXEC} $@ </sysroot/dev/console >/sysroot/dev/console'
892  if [[ ${IMAGE_TYPE} = loopback ]]  if [[ ${IMAGE_TYPE} = loopback ]]

Legend:
Removed from v.1792  
changed lines
  Added in v.1793