Le 17 oct. 2012 à 17:27, Andrew a écrit :

> 
> There is still one question - about linker lib: it is 
> /lib/ld64-uClibc.so.0 for 64bit and /lib/ld-uClibc.so.0 for 32bit; it's 
> symlink for uClibc library. We can provide into initrd both links, and 
> IMHO it'll be enough good - as far as we shouldn't mix 32bit and 64bit 
> packages in one box.
> 
For the linker lib i have an easiest solution than patching uClibc

in repo/initrd/buildtool.cfg

      <File>
        Source    = lib/ld-uClibc-0.9.33.2.so
        Filename  = lib/ld-uClibc-0.9.33.2.so
        Type    = binary
        Permissions = 755
      </File>

can be rewritten to

      ?include <$(toolchain).files>

and we then create the files:

*repo/initrd/i486-unknown-linux-uclibc.files:
      <File>
        Source    = lib/ld-uClibc-0.9.33.2.so
        Filename  = lib/ld-uClibc-0.9.33.2.so
        Type    = binary
        Permissions = 755
      </File>
and

*repo/initrd/x86_64-unknown-linux-uclibc.files:
      <File>
        Source    = lib/ld64-uClibc-0.9.33.2.so
        Filename  = lib/ld64-uClibc-0.9.33.2.so
        Type    = binary
        Permissions = 755
      </File>

It's easy, not ?

Yves


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to