Commit e51d14d6 authored by Stefano Babic's avatar Stefano Babic
Browse files

swupdate-common: drop obsolete swupdate_is_hash_needed


Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
parent 3f913a36
......@@ -15,13 +15,6 @@ python () {
d.appendVarFlag('do_swuimage', 'depends', deps)
}
def swupdate_is_hash_needed(s, filename):
with open(os.path.join(s, "sw-description"), 'r') as f:
for line in f:
if line.find("@%s" % (filename)) != -1:
return True
return False
def swupdate_getdepends(d):
def adddep(depstr, deps):
for i in (depstr or "").split():
......@@ -348,5 +341,3 @@ python do_swuimage () {
line = 'ln -sf ' + d.getVar('IMAGE_NAME', True) + '.swu ' + d.getVar('IMAGE_LINK_NAME', True) + '.swu'
os.system("cd " + imgdeploydir + "; " + line)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment