public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] meta/conf/bitbake.conf: support for AUTOREV in SRCREV
@ 2019-04-29 10:46 Maciej Pijanowski
  2019-05-14 14:29 ` Maxim Yu. Osipov
  0 siblings, 1 reply; 2+ messages in thread
From: Maciej Pijanowski @ 2019-04-29 10:46 UTC (permalink / raw)
  To: isar-users; +Cc: piotr.krol

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-14 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-29 10:46 [PATCH] meta/conf/bitbake.conf: support for AUTOREV in SRCREV Maciej Pijanowski
2019-05-14 14:29 ` Maxim Yu. Osipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox