From: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
To: isar-users@googlegroups.com
Cc: piotr.krol@3mdeb.com
Subject: [PATCH] meta/conf/bitbake.conf: support for AUTOREV in SRCREV
Date: Mon, 29 Apr 2019 12:46:53 +0200 [thread overview]
Message-ID: <20190429104653.3500-1-maciej.pijanowski@3mdeb.com> (raw)
Allows to use the SRCREV = "${AUTOREV}" similarly as in Yocto,
to build from the latest commit.
Fixes: https://github.com/ilbers/isar/issues/15
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
---
meta/conf/bitbake.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 0e521bb4dfa7..7fb67c4b3204 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -35,6 +35,7 @@ PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0'
PROVIDES = ""
PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
S = "${WORKDIR}/${P}"
+AUTOREV = "${@bb.fetch2.get_autorev(d)}"
SRC_URI = "file://${FILE}"
STAMP = "${TMPDIR}/stamps/${PF}"
SVNDIR = "${DL_DIR}/svn"
--
2.17.1
next reply other threads:[~2019-04-29 10:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-29 10:46 Maciej Pijanowski [this message]
2019-05-14 14:29 ` Maxim Yu. Osipov
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=20190429104653.3500-1-maciej.pijanowski@3mdeb.com \
--to=maciej.pijanowski@3mdeb.com \
--cc=isar-users@googlegroups.com \
--cc=piotr.krol@3mdeb.com \
/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