On 09.02.2016 14:56, EXT Burton, Ross wrote:
On 9 February 2016 at 13:51, Woronicz, Bartosz ( NSN - PL/Wroclaw)
> wrote:
Here is the whole bbclass/:
/
DESCRIPTION = "Creates symlink to the latest version workdir
On 08.02.2016 14:44, EXT Maciek Borzecki wrote:
On pon, 2016-02-08 at 14:20 +0100, Woronicz, Bartosz ( NSN - PL/Wroclaw) wrote:
The problem is, it doesn't doit delirebately,
when I run
bitbake -f -c latest_link myrecipe , it works
when the process is in the tasks batch running
bitbake
On 9 February 2016 at 08:37, Woronicz, Bartosz ( NSN - PL/Wroclaw) <
bartosz.woron...@nokia.com> wrote:
> Ok, but I don't want to run it everytime, just after the do_unpack. What I
> need to put it in requirements for each recipe ?
> Maybe something like
>
> do_unpack[require] = "latest_link"
>
On 9 February 2016 at 13:51, Woronicz, Bartosz ( NSN - PL/Wroclaw) <
bartosz.woron...@nokia.com> wrote:
> Here is the whole bbclass
> *: *
>
> DESCRIPTION = "Creates symlink to the latest version workdir of the
> package"
>
> do_latest_link() {
> if [ -n "${WORKDIR}" ]; then
>
Cheers, mate!
That solves my issue (but with small fix).
/do_unpack[postfuncs] += "do_latest_link"
/instead/
//do_unpack[postfuncs] += "latest_link"
Because, without "do_" it says
WARNING: Function latest_link doesn't exist
/Here is the whole bbclass/:
/
DESCRIPTION = "Creates symlink to
ttp://stackoverflow.com/questions/35158764/where-should-i-append-yocto-bitbake-task-to-
create-work-folder-symlink
Put that into a class in your layer, ex. latest-link.bbclass (untested):
do_latest_link() {
if [ -n "${WORKDIR}" ]; then
linkname="$(dirname ${WORKDIR})/latest&
On pon, 2016-02-08 at 14:20 +0100, Woronicz, Bartosz ( NSN - PL/Wroclaw) wrote:
> The problem is, it doesn't doit delirebately,
>
> when I run
>
> bitbake -f -c latest_link myrecipe , it works
>
> when the process is in the tasks batch running
> bitbake myrecipe
> it doesn't
> What am I doing
4/where-should-i-append-yocto-bitbake-task-to-
create-work-folder-symlink
Put that into a class in your layer, ex. latest-link.bbclass (untested):
do_latest_link() {
if [ -n "${WORKDIR}" ]; then
linkname="$(dirname ${WORKDIR})/latest"
I will check that out, thanks!
Kind regards,
Bartosz Woronicz
Engineer, Software Configuration (SCM)
NSN - PL/Wroclaw
On 03.02.2016 16:40, EXT Burton, Ross wrote:
On 3 February 2016 at 14:16, Woronicz, Bartosz ( NSN - PL/Wroclaw)
ask should I append, extend ?
Optionally, I would like to have that for all packages or at least
packages in my meta.
P.S. I asked the same question here:
http://stackoverflow.com/questions/35158764/where-should-i-append-yocto-bitbake-task-to-create-work-folder-symlink
--
Kind regards,
Bart
the same question here:
> http://stackoverflow.com/questions/35158764/where-should-i-append-yocto-bitbake-task-to-
> create-work-folder-symlink
>
Put that into a class in your layer, ex. latest-link.bbclass (untested):
do_latest_link() {
if [ -n "${WORKDIR}" ]; then
On 3 February 2016 at 10:13, Woronicz, Bartosz ( NSN - PL/Wroclaw) <
bartosz.woron...@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
>
>
On 03.02.2016 11:28, EXT Burton, Ross wrote:
On 3 February 2016 at 10:13, Woronicz, Bartosz ( NSN - PL/Wroclaw)
> wrote:
Let's say I have my package at
host-64/tmp/work/x86_64-poky-linux/mypackage/1.2.3-r4/
I would
On 3 February 2016 at 14:16, Woronicz, Bartosz ( NSN - PL/Wroclaw) <
bartosz.woron...@nokia.com> wrote:
> But I need to the sysroot cleanup deliberately, right ?
>
No, that happens on startup (in master and the jethro release).
Ross
--
___
yocto
14 matches
Mail list logo