summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-10-25 19:48:11 +0000
committerHolger Freyther <zecke@selfish.org>2006-10-25 19:48:11 +0000
commit12f3d309156ac047b0826904ef729b83b997b8b5 (patch)
treed6fc3bc28f920176cca4003472615bfd64629931 /classes
parent0da570019e7b647998eef24506a6868169f4b242 (diff)
classes/tinderclient.bbclass: Send some more useful data to the tinderbox
Send PN, PV, PR, MACHINE, DISTRO, TARGET_FPU, TARGET_OS, TARGET_ARCH to the tinderbox. This will be used by the new data mining tinderbox
Diffstat (limited to 'classes')
-rw-r--r--classes/tinderclient.bbclass13
1 files changed, 12 insertions, 1 deletions
diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass
index d36ef0b343..3f5183cc8f 100644
--- a/classes/tinderclient.bbclass
+++ b/classes/tinderclient.bbclass
@@ -60,7 +60,18 @@ def tinder_format_http_post(d,status,log):
"os" : os.uname()[0],
"os_version" : os.uname()[2],
"compiler" : "gcc",
- "clobber" : data.getVar('TINDER_CLOBBER', d, True)
+ "clobber" : data.getVar('TINDER_CLOBBER', d, True),
+ "srcdate" : data.getVar('SRCDATE', d, True),
+ "PN" : data.getVar('PN', d, True),
+ "PV" : data.getVar('PV', d, True),
+ "PR" : data.getVar('PR', d, True),
+ "FILE" : data.getVar('FILE', d, True) or "N/A",
+ "TARGETARCH" : data.getVar('TARGET_ARCH', d, True),
+ "TARGETFPU" : data.getVar('TARGET_FPU', d, True) or "Unknown",
+ "TARGETOS" : data.getVar('TARGET_OS', d, True) or "Unknown",
+ "MACHINE" : data.getVar('MACHINE', d, True) or "Unknown",
+ "DISTRO" : data.getVar('DISTRO', d, True) or "Unknown",
+ "zecke-rocks" : "sure",
}
# optionally add the status