Magellan Linux

Diff of /branches/linuxrc-1_6/mkinitrd/lib/linuxrc.sh

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

revision 605, Fri Nov 24 17:27:29 2006 UTC revision 606 by niro, Sat Nov 10 20:02:58 2007 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd/lib/linuxrc.sh,v 1.6 2006-11-24 17:27:28 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd/lib/linuxrc.sh,v 1.6.2.1 2007-11-10 20:02:58 niro Exp $
3    
4  # loads given kernel modules  # loads given kernel modules
5  load_kernel_modules()  load_kernel_modules()
# Line 147  else Line 147  else
147   # symlinking cloop rootfs to /mnt as newroot   # symlinking cloop rootfs to /mnt as newroot
148   cd /sysroot   cd /sysroot
149    
150   for x in bin sbin lib boot usr opt   for x in bin sbin lib lib64 boot usr opt
151   do   do
152   ln -s mnt/cloop/${x} ${x}   [ -d mnt/cloop/${x} ] && ln -s mnt/cloop/${x} ${x}
153   done   done
154   mkdir -p initrd proc tmp sys var/tmp dev media   mkdir -p initrd proc tmp sys var/tmp dev media
155    

Legend:
Removed from v.605  
changed lines
  Added in v.606