On Tue, Sep 15, 2015 at 3:56 PM, Christopher Larson <kerg...@gmail.com>
wrote:

> From: Christopher Larson <chris_lar...@mentor.com>
>
> It's quite common to need to copy files out of the devshell back to your
> layers, but most of the variables referring to such paths are not exported
> (and in some cases, should not be, as it'll affect buildsystems we run,
> e.g.
> TOPDIR/BUILDDIR). To resolve this while still making it easier to get files
> out of the devshell, create a ${WORKDIR}/topdir symlink to ${TOPDIR},
> removing
> it after exiting the devshell.
>
> [YOCTO #7670]
>
> Signed-off-by: Christopher Larson <chris_lar...@mentor.com>
>

This should probably have been an RFC, thinking about it, as I'm not
entirely happy with this implementation, but I can't think of a good
alternative, lacking a way to set unexported shell variables in the shell
spawned by the terminal, and there's no real way to do that, since we don't
know the shell the user is using. I think this is a decent alternative, if
not a pretty one. Thoughts welcome.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to