summaryrefslogtreecommitdiffstats
path: root/meta/classes-global
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-04 14:18:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-05 11:52:50 +0000
commitab8c9d503eca4cbb4e72d17a3418de222c34d305 (patch)
treed16930018b69c6a88b8dd795a5dd9ee395b587b2 /meta/classes-global
parente4f17fd72d0bc9c1b2f245abf9dd6a64b2544796 (diff)
downloadpoky-ab8c9d503eca4cbb4e72d17a3418de222c34d305.tar.gz
package: Drop unused function and obsolete comment
The function appears unused and the comment obsolete, drop them. (From OE-Core rev: f3745718f8ec3bbed9816bf3d891e9885f8518b5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global')
-rw-r--r--meta/classes-global/package.bbclass12
1 files changed, 0 insertions, 12 deletions
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 () {
243 d.appendVarFlag('do_package', 'deptask', " do_packagedata") 243 d.appendVarFlag('do_package', 'deptask', " do_packagedata")
244} 244}
245 245
246def checkbuildpath(file, d):
247 tmpdir = d.getVar('TMPDIR')
248 with open(file) as f:
249 file_content = f.read()
250 if tmpdir in file_content:
251 return True
252
253 return False
254
255#
256# Used by do_packagedata (and possibly other routines post do_package)
257#
258 246
259PRSERV_ACTIVE = "${@bool(d.getVar("PRSERV_HOST"))}" 247PRSERV_ACTIVE = "${@bool(d.getVar("PRSERV_HOST"))}"
260PRSERV_ACTIVE[vardepvalue] = "${PRSERV_ACTIVE}" 248PRSERV_ACTIVE[vardepvalue] = "${PRSERV_ACTIVE}"