All of lore.kernel.org
 help / color / mirror / Atom feed
* put symlink into /usr in sysroot
@ 2014-06-11 11:33 Marek Andrus
  2014-06-13 15:22 ` Marek Andrus
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Andrus @ 2014-06-11 11:33 UTC (permalink / raw)
  To: yocto

Hi,

I have to make symbolic link /usr/lib64 to /usr/lib in target sysroot. I 
create it in install phase and it appears in output rpm package. 
Unfortunately it doesn't appear in sysroot. I've found that if I create 
links/files inside eg. /usr/lib the same way, they appear in sysroot. So 
probably the question should be like this: how to put anything into /usr 
or / in sysroot?

BR,
Marek Andrus


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: put symlink into /usr in sysroot
  2014-06-11 11:33 put symlink into /usr in sysroot Marek Andrus
@ 2014-06-13 15:22 ` Marek Andrus
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Andrus @ 2014-06-13 15:22 UTC (permalink / raw)
  To: yocto

I've found the solution. I created a function (fun) and added it to the 
functions called during populate_sysroot:
SYSROOT_PREPROCESS_FUNCS += "fun"

The function fun does the work: ln -s lib ${SYSROOT_DESTDIR}usr/lib64

BR,
Marek


On 11.06.2014 13:33, ext Marek Andrus wrote:
> Hi,
>
> I have to make symbolic link /usr/lib64 to /usr/lib in target sysroot. 
> I create it in install phase and it appears in output rpm package. 
> Unfortunately it doesn't appear in sysroot. I've found that if I 
> create links/files inside eg. /usr/lib the same way, they appear in 
> sysroot. So probably the question should be like this: how to put 
> anything into /usr or / in sysroot?
>
> BR,
> Marek Andrus



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-13 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11 11:33 put symlink into /usr in sysroot Marek Andrus
2014-06-13 15:22 ` Marek Andrus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.