317
317
self.ui.set_sufficient_space_text(space)
321
321
size = 5 * 1024 * 1024 * 1024
323
327
with open('/cdrom/casper/filesystem.size') as fp:
324
328
size = int(fp.readline())
326
330
self.debug('Could not determine squashfs size: %s' % e)
327
332
# TODO substitute into the template for the state box.
328
333
min_disk_size = size * 2 # fudge factor.
331
342
def big_enough(self, size):