From: Jan Kiszka <jan.kis...@siemens.com>

Helps checking already during the build which revision is used.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---
 recipes-jailhouse/jailhouse/jailhouse_latest.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-jailhouse/jailhouse/jailhouse_latest.bb 
b/recipes-jailhouse/jailhouse/jailhouse_latest.bb
index 9b5fa04..962863e 100644
--- a/recipes-jailhouse/jailhouse/jailhouse_latest.bb
+++ b/recipes-jailhouse/jailhouse/jailhouse_latest.bb
@@ -13,3 +13,8 @@ require jailhouse.inc
 
 SRCREV = "next"
 PV = "0.9999-next"
+
+dpkg_runbuild_prepend() {
+    bbplain $(printf "jailhouse-latest: Building revision %.12s\n" \
+                     $(cat ${S}/.git/refs/heads/next))
+}
-- 
2.16.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to