mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
classes/buildhistory: drop cruft from old SRCREV tracking implementation
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. (From OE-Core rev: cbc23a87c1897b7fda40f452dd36acb0bca3d197) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c36c1989c1
commit
1c37266c2a
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user