Use gzip on ppc initrd

This commit is contained in:
Martin Gracik 2011-03-17 11:03:08 +01:00
parent 8ed6ac4d7b
commit dc7b2e28dc

View File

@ -177,7 +177,7 @@ class PPC(object):
initrd.itype = kernel.ktype
logger.info("compressing the install tree")
self.installtree.compress(initrd, kernel)
self.installtree.compress(initrd, kernel, type="gzip")
# add kernel and initrd to the list
self.kernels.append(kernel)
@ -194,7 +194,7 @@ class PPC(object):
dst = joinpaths(self.outputroot, ppcdir, "yaboot.conf")
yabootconf = cpfile(self.reqs["yabootconf"], dst)
replace(yabootconf, r"%BITS%", bits)
replace(yabootconf, r"%BITS%", str(bits))
replace(yabootconf, r"%PRODUCT%", self.product)
replace(yabootconf, r"%VERSION%", self.version)