But I need to the sysroot cleanup deliberately, right ?
On 3 February 2016 at 10:13, Woronicz, Bartosz ( NSN - PL/Wroclaw) <bartosz.woronicz@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
Kind regards, Bartosz Woronicz Engineer, Software Configuration (SCM) NSN - PL/Wroclaw