glibc @BASH@ thing
Gilles Espinasse
g.esp at free.fr
Tue Jun 3 02:45:13 MDT 2008
Selon Mateusz Grotek <unoduetre at poczta.onet.pl>:
> Bruce Dubbs pisze:
> > Mateusz Grotek wrote:
> >
...
> >> 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.
> --
Patching is costly to maintain and more subject to breakage.
Another solution for glibc than the sed is to use CONFIG_SHELL=/bin/bash
It should achieve the same result than the sed.
Gilles
More information about the lfs-dev
mailing list