[yocto] Where should I append Yocto bitbake task to create work folder symlink ?
Burton, Ross
ross.burton at intel.com
Wed Feb 3 02:28:26 PST 2016
On 3 February 2016 at 10:13, Woronicz, Bartosz ( NSN - PL/Wroclaw) <
bartosz.woronicz at nokia.com> wrote:
> Let's say I have my package at
>
> host-64/tmp/work/x86_64-poky-linux/mypackage/1.2.3-r4/
>
> I would like to have symlink created
>
> host-64/tmp/work/x86_64-poky-linux/mypackage/latest -> 1.2.3-r4/
>
> each time the new version is fetched and unpacked. How can I achieve that
> ? Which class, task should I append, extend ?
>
One way would be to create a new task that comes after unpack and creates
the symlink.
You may be interested in the rm_old_work class that can remove old work
trees so there's only ever one work tree, and I believe due to how master
does sysroot cleanup there's only ever one version in work/ now.
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160203/67b6364d/attachment.html>
More information about the yocto
mailing list