Openembedded Bitbake Development
 help / color / mirror / Atom feed
From: "Becker Béla" <bela@becker.rocks>
To: bitbake-devel@lists.openembedded.org
Subject: Re: Forcing a task to run depending on the output of a python script?
Date: Tue, 15 May 2018 15:11:07 +0200	[thread overview]
Message-ID: <4142408.DOWd2aIxmE@maxion> (raw)
In-Reply-To: <4772545.pSEQItiHMW@maxion>

Replying to myself because I figured it out.

If you ever need such functionality, just add a git type SRC_REV pointing to your local repo with the "usehead" option set, and use AUTOREV.

e.g.
    SRC_URI = "git://${THISDIR}/../..;usehead=1;bareclone=1"
    SRCREV = "${AUTOREV}"

"${THISDIR}/../.." looks dirty, but unfortunately ${LAYERDIR} is unavailable outside layer.conf

Cheers to everyone. I hope somebody will find this useful.




      reply	other threads:[~2018-05-15 13:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-10 19:25 Forcing a task to run depending on the output of a python script? Becker Béla
2018-05-15 13:11 ` Becker Béla [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4142408.DOWd2aIxmE@maxion \
    --to=bela@becker.rocks \
    --cc=bitbake-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox