Hi Yves;

Am 17.10.2012 18:53, schrieb Yves Blusseau:
> 
> 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 ?

Unfortunately not as easy as you thought :)

I tried and got an error:

fakeroot ./buildpacket.pl --package=initrd --verbose
Using toolchain x86_64-unknown-linux-uclibc
Error: can't expand variable $toolchain

kp



------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d

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

Reply via email to