On Thu, Feb 18, 2010 at 11:32 PM, Thomas Zimmermann <[email protected]> wrote: > Am Freitag 19 Februar 2010 01:28:57 schrieb Khem Raj: >> On Sun, Feb 14, 2010 at 2:37 PM, Koen Kooi <[email protected]> > wrote: >> > -----BEGIN PGP SIGNED MESSAGE----- >> > Hash: SHA1 >> > >> > On 14-02-10 23:33, Florian Boor wrote: >> >> Hi, >> >> >> >> Thomas Zimmermann schrieb: >> >>> * ldd has shebang #!/bin/bash: so add bash RDEPNDS >> >> >> >> last time I checked it worked with the Busybox built-in shell as well. I >> >> wonder if it would be a good idea to verify this and patch ldd for our >> >> purposes. >> > >> > like this: >> > http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/glibc/gli >> >bc-2.4/ldd-unbash.patch ? >> >> or patch posted in http://sourceware.org/bugzilla/show_bug.cgi?id=832 >> it lets it work as it is if shell is bash. >> >> Thx >> >> -Khem > I tried ldd today with busyboy and it was enough to replace just the shebang: > > --- /usr/bin/ldd Fri Feb 19 08:27:44 2010 > +++ /usr/bin/ldd Fri Feb 19 08:27:51 2010 > @@ -1,4 +1,4 @@ > -#! /bin/bash > +#! /bin/sh > # Copyright (C) 1996-2008, 2009 Free Software Foundation, Inc. > # This file is part of the GNU C Library. > > I think this is because we have in eglibc: > > if x=`set -o` && test "$x" != "${x#*pipefail}" && set -o pipefail ; then > > and the second term fails, so set -o pipefail is never executed.
yes thats right. > > I will resend this patch. > > Thomas > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
