Hi guys, Every time I use mkinitramfs I get a warning on the screen: Creating initrd.img-5.8.11... ln: failed to create symbolic link '/tmp/initrd-work.dIMxI8Ugai/bin/sh': File exists done. Image created is fully functional.
I added ls commands in the script to check the reason before ln command: ls /tmp/initrd-work.dIMxI8Ugai/bin/sh -rwxr-xr-x 1 root root 3785752 Sep 27 13:39 /tmp/initrd-work.dIMxI8Ugai/bin/sh ls /bin/bash -rwxr-xr-x 1 root root 3785752 Sep 5 21:44 /bin/bash Both sh and original bash are the same. Do we really need command below? line 136: ln -s bash $WDIR/bin/sh /Alexey
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
