1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd/mkinitrd-livecd.sh,v 1.6 2007-04-29 20:55:11 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd/mkinitrd-livecd.sh,v 1.7 2007-05-19 14:30:48 niro Exp $ |
3 |
|
|
4 |
# mkinitrd-livecd |
# mkinitrd-livecd |
5 |
# |
# |
294 |
ps pwd rm rmdir sh sleep test touch true umount uname \ |
ps pwd rm rmdir sh sleep test touch true umount uname \ |
295 |
xargs yes chmod chown |
xargs yes chmod chown |
296 |
do |
do |
297 |
# static links |
# use soft links from now on; |
298 |
ln ${DEST}/bin/busybox ${DEST}/bin/${i} || die "${i}" |
# hardlinks in initramfs apears to be broken on newer kernels |
299 |
|
# -> "request module: runaway loop modprobe binfmt-0000" |
300 |
|
# see: http://www.gossamer-threads.com/lists/linux/kernel/728042 |
301 |
|
ln -s /bin/busybox ${DEST}/bin/${i} || die "${i}" |
302 |
done |
done |
303 |
|
|
304 |
# sbin related |
# sbin related |