Use constant value from constants.py for fs overhead
This commit is contained in:
parent
55f6acb620
commit
070fbdab10
@ -526,7 +526,7 @@ class Lorax(BaseLoraxClass):
|
|||||||
os.unlink(efiboot)
|
os.unlink(efiboot)
|
||||||
|
|
||||||
# calculate the size of the efi tree directory
|
# calculate the size of the efi tree directory
|
||||||
overhead = 512 * 1024
|
overhead = constants.FS_OVERHEAD * 1024
|
||||||
|
|
||||||
sizeinbytes = overhead
|
sizeinbytes = overhead
|
||||||
for root, _, fnames in os.walk(efitree):
|
for root, _, fnames in os.walk(efitree):
|
||||||
|
Loading…
Reference in New Issue
Block a user