diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index 21a50bbb45..5c250776f8 100644 --- a/meta/classes-global/package.bbclass +++ b/meta/classes-global/package.bbclass @@ -243,18 +243,6 @@ python () { d.appendVarFlag('do_package', 'deptask', " do_packagedata") } -def checkbuildpath(file, d): - tmpdir = d.getVar('TMPDIR') - with open(file) as f: - file_content = f.read() - if tmpdir in file_content: - return True - - return False - -# -# Used by do_packagedata (and possibly other routines post do_package) -# PRSERV_ACTIVE = "${@bool(d.getVar("PRSERV_HOST"))}" PRSERV_ACTIVE[vardepvalue] = "${PRSERV_ACTIVE}"