Use constant value from constants.py for fs overhead

This commit is contained in:
Martin Gracik 2010-12-02 13:00:31 +01:00
parent 55f6acb620
commit 070fbdab10

View File

@ -526,7 +526,7 @@ class Lorax(BaseLoraxClass):
os.unlink(efiboot)
# calculate the size of the efi tree directory
overhead = 512 * 1024
overhead = constants.FS_OVERHEAD * 1024
sizeinbytes = overhead
for root, _, fnames in os.walk(efitree):