mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
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>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user