Patchwork [4/8] classes/buildhistory: drop cruft from old SRCREV tracking implementation

login
register
mail settings
Submitter Paul Eggleton
Date Dec. 2, 2013, 6:50 p.m.
Message ID <a6e5b02e09bf3a3f4077e5384bef1812d7e37224.1386009885.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/62685/
State New
Headers show

Comments

Paul Eggleton - Dec. 2, 2013, 6:50 p.m.
This should have been removed when the implementation was rewritten in
OE-Core commit 2179db89436d719635f858c87d1e098696bead2a. The collected
values weren't being used anywhere since then.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/buildhistory.bbclass | 12 ------------
 1 file changed, 12 deletions(-)

Patch

diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index ec3f0b1..6e59f64 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -46,10 +46,7 @@  python buildhistory_emit_pkghistory() {
             self.pr = "r0"
             self.depends = ""
             self.packages = ""
-            self.bbfile = ""
-            self.src_uri = ""
             self.srcrev = ""
-            self.srcrev_autorev = ""
 
 
     class PackageInfo:
@@ -159,11 +156,6 @@  python buildhistory_emit_pkghistory() {
     pv = d.getVar('PV', True)
     pr = d.getVar('PR', True)
 
-    bbfile = d.getVar('BB_FILENAME', True)
-    src_uri = d.getVar('SRC_URI', True)
-    srcrev = d.getVar('SRCREV', True)
-    srcrev_autorev = 'yes' if d.getVar('SRCREV', False) == 'AUTOINC' else 'no'
-
     packages = squashspaces(d.getVar('PACKAGES', True))
 
     packagelist = packages.split()
@@ -184,10 +176,6 @@  python buildhistory_emit_pkghistory() {
     rcpinfo.pv = pv
     rcpinfo.pr = pr
     rcpinfo.depends = sortlist(squashspaces(d.getVar('DEPENDS', True) or ""))
-    rcpinfo.bbfile = bbfile
-    rcpinfo.src_uri = src_uri
-    rcpinfo.srcrev = srcrev
-    rcpinfo.srcrev_autorev = srcrev_autorev
     rcpinfo.packages = packages
     write_recipehistory(rcpinfo, d)