Adding several dependency checks for far installation. Redoing the XML output.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2299 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
bbahnsen
2007-01-24 18:14:09 +00:00
parent 92a154063a
commit 312ffece7b
3 changed files with 149 additions and 149 deletions

View File

@ -42,3 +42,19 @@ def mkdir(path):
except:
pass
def Md5(filename):
sum = ""
try:
f=open(filename, "rb")
sum = md5.md5(f.read()).hexdigest()
f.close()
except IOError:
print "Error: Unable to open file: %s" % filename
sys.exit()
return sum