fix typo in mkefiboot's macbless()

This commit is contained in:
Will Woods 2011-10-25 17:23:24 -04:00
parent 8db7604a06
commit 0fd48ba936
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def macbless(imgfile):
'''"bless" the EFI bootloader inside the given Mac EFI boot image, by
writing its inode info into the HFS+ volume header.'''
# Get the inode number for the boot image and its parent directory
with LoopDev(outfile) as loopdev:
with LoopDev(imgfile) as loopdev:
with Mount(loopdev) as mnt:
loader = glob.glob(os.path.join(mnt,'EFI/BOOT/BOOT*.efi'))[0]
blessnode = os.stat(loader).st_ino