1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd/mkinitrd.sh,v 1.11 2006-11-24 17:26:11 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mkinitrd/mkinitrd.sh,v 1.12 2007-05-19 14:31:09 niro Exp $ |
3 |
|
|
4 |
# mkinitrd |
# mkinitrd |
5 |
# |
# |
659 |
ps pwd rm rmdir sh sleep test touch true umount uname \ |
ps pwd rm rmdir sh sleep test touch true umount uname \ |
660 |
xargs yes chmod chown |
xargs yes chmod chown |
661 |
do |
do |
662 |
# static links |
# use soft links from now on; |
663 |
ln ${DEST}/bin/busybox ${DEST}/bin/${i} || die "${i}" |
# hardlinks in initramfs apears to be broken on newer kernels |
664 |
|
# -> "request module: runaway loop modprobe binfmt-0000" |
665 |
|
# see: http://www.gossamer-threads.com/lists/linux/kernel/728042 |
666 |
|
ln -s /bin/busybox ${DEST}/bin/${i} || die "${i}" |
667 |
done |
done |
668 |
|
|
669 |
# sbin related |
# sbin related |