--- trunk/mkinitrd/mkinitrd.sh 2006/11/24 17:27:28 400 +++ trunk/mkinitrd/mkinitrd.sh 2007/05/19 14:31:09 496 @@ -1,5 +1,5 @@ #!/bin/bash -# $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 $ # mkinitrd # @@ -659,8 +659,11 @@ ps pwd rm rmdir sh sleep test touch true umount uname \ xargs yes chmod chown do - # static links - ln ${DEST}/bin/busybox ${DEST}/bin/${i} || die "${i}" + # use soft links from now on; + # hardlinks in initramfs apears to be broken on newer kernels + # -> "request module: runaway loop modprobe binfmt-0000" + # see: http://www.gossamer-threads.com/lists/linux/kernel/728042 + ln -s /bin/busybox ${DEST}/bin/${i} || die "${i}" done # sbin related