1 |
#!/bin/sh |
#!/bin/sh |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd-magellan/livecd/linuxrc.sh,v 1.1 2007-09-01 22:44:23 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd-magellan/livecd/linuxrc.sh,v 1.2 2007-11-10 19:56:21 niro Exp $ |
3 |
|
|
4 |
# loads given kernel modules |
# loads given kernel modules |
5 |
load_kernel_modules() |
load_kernel_modules() |
155 |
# symlinking cloop rootfs to /mnt as newroot |
# symlinking cloop rootfs to /mnt as newroot |
156 |
cd /sysroot |
cd /sysroot |
157 |
|
|
158 |
for x in bin sbin lib boot usr opt |
for x in bin sbin lib lib64 boot usr opt |
159 |
do |
do |
160 |
ln -s mnt/cloop/${x} ${x} |
[ -d mnt/cloop/${x} ] && ln -s mnt/cloop/${x} ${x} |
161 |
done |
done |
162 |
mkdir -p initrd proc tmp sys var/tmp dev media |
mkdir -p initrd proc tmp sys var/tmp dev media |
163 |
|
|