Have to call os.makedirs
This commit is contained in:
parent
ef1ae59a8a
commit
fbd8da6d40
@ -157,7 +157,6 @@ class PPC(object):
|
|||||||
# create ppc dir
|
# create ppc dir
|
||||||
os.makedirs(joinpaths(self.outputroot, ppcdir))
|
os.makedirs(joinpaths(self.outputroot, ppcdir))
|
||||||
|
|
||||||
if (kernel_arch == "ppc"):
|
|
||||||
# create mac dir
|
# create mac dir
|
||||||
os.makedirs(joinpaths(self.outputroot, MACDIR))
|
os.makedirs(joinpaths(self.outputroot, MACDIR))
|
||||||
|
|
||||||
@ -744,7 +743,7 @@ class SPARC(object):
|
|||||||
def create_boot(self, efiboot=None):
|
def create_boot(self, efiboot=None):
|
||||||
# create isopath dir
|
# create isopath dir
|
||||||
isopathdir = joinpaths(self.outputroot, ISOPATHDIR)
|
isopathdir = joinpaths(self.outputroot, ISOPATHDIR)
|
||||||
makedirs(isopathdir)
|
os.makedirs(isopathdir)
|
||||||
|
|
||||||
# copy sparc dir to isopath dir
|
# copy sparc dir to isopath dir
|
||||||
shutil.copytree(joinpaths(self.outputroot, SPARCDIR),
|
shutil.copytree(joinpaths(self.outputroot, SPARCDIR),
|
||||||
|
Loading…
Reference in New Issue
Block a user