Bruce Dubbs pisze: > Mateusz Grotek wrote: > >> Hi. There is some simple solution to make ldd.bash.in work with dash, >> and other shells. >> Change this line: >> BEGIN >> if set -o pipefail 2> /dev/null; then >> END >> to these two lines: >> BEGIN >> if set -o | grep pipefail 1> /dev/null 2> /dev/null; then >> set -o pipefail 2> /dev/null >> END >> and that's all. With this fix it works correctly and this sed thing if >> LFS book isn't needed. You could ask why this solution is better than fix? >> It is, because it enables you not to use bash for ldd. I donno if glibc >> works without bash, but i saw that this was the only thing which needed >> changing in glibc. So i suppose now you can use dash instead of bash for >> default shell, if you want. LFS should be flexible right? >> So little patch for glibc would be better than this sed script. >> Mateusz Grotek >> > > This is better asked on lfs-support. > > To answer your question: > sudo ln -sf bash /bin/sh > > -- Bruce > >
No. It's not support question. It's suggestion for a LFS book. While installing glibc you have to change @BASH@ to /bin/bash. But this is more general solution. Just make a patch for glibc. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page