From c484a26f4458c40f65d2c307dedd4439e297a908 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 7 Apr 2009 18:09:00 -0700 Subject: [PATCH] Pad the ppc bootable disks by 15 megs, lots of isofs overhead. --- src/pypungi/splittree.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pypungi/splittree.py b/src/pypungi/splittree.py index a419c01e..a6919808 100644 --- a/src/pypungi/splittree.py +++ b/src/pypungi/splittree.py @@ -300,7 +300,11 @@ self.reserve_size : Additional size needed to be reserved on the first disc. # compensate for the size of the comps package which has yet to be created if disc == 1: - maxsize = self.target_size - self.comps_size - self.reserve_size + if self.arch == 'ppc' or self.arch == 'ppc64': + # ppc has about 15 megs of overhead in the isofs. + maxsize = self.target_size - self.comps_size - self.reserve_size - 15728640 + else: + maxsize = self.target_size - self.comps_size - self.reserve_size else: maxsize = self.target_size