On Tue, Mar 29, 2011 at 11:16 PM, Bryan Kadzban <br...@kadzban.is-a-geek.net> wrote: > mkinitramfs does not preserve the symlink. If ldd reported > /lib64/libreadline.so.6, then mkinitramfs should have generated a line > like so: > > file /lib64/libreadline.so.6 /lib64/libreadline.so.6 0755 0 0 > > which *should* (or at least, does for me) cause gen_init_cpio to copy > the contents of the target file. The soname symlinks are not required > inside the initramfs because there's no point in upgrading the libraries > in one; as long as the filename exists, though, everything should work. I'll add the changes that I made for the creation for /lib64 to the script.
> Which comes back to the other issue, I guess. Have to see what the > script is putting into the cpio archive. (Or actually, maybe hacking on > the script to dump what it echos into a temp file instead of into > gen_init_cpio's stdin, would work better.) I'll just add this before the gen_init_cpio call: {{{ tee /tmp/lfs-initramfs-filelist }}} Does that work? -- William Immendorf The ultimate in free computing. Messages in plain text, please, no HTML. GPG key ID: 1697BE98 If it's not signed, it's not from me. -------------- "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- http://linuxfromscratch.org/mailman/listinfo/hints FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page