Print out the buildarch right after we get it

This commit is contained in:
Martin Gracik 2010-11-08 15:59:38 +01:00
parent d8ba02d894
commit 08a752551a

View File

@ -168,7 +168,10 @@ class Lorax(BaseLoraxClass):
# set up build architecture # set up build architecture
logger.info("setting up build architecture") logger.info("setting up build architecture")
self.buildarch = self.get_buildarch() self.buildarch = self.get_buildarch()
logger.debug("set buildarch = {0.buildarch}".format(self))
archmap = ARCHMAPS.get(self.buildarch) archmap = ARCHMAPS.get(self.buildarch)
# XXX # XXX
@ -177,8 +180,6 @@ class Lorax(BaseLoraxClass):
self.basearch = archmap.get("base") self.basearch = archmap.get("base")
self.efiarch = archmap.get("efi") self.efiarch = archmap.get("efi")
self.libdir = LIB64 if archmap.get("is64") else LIB32 self.libdir = LIB64 if archmap.get("is64") else LIB32
logger.debug("set buildarch = {0.buildarch}".format(self))
logger.debug("set basearch = {0.basearch}".format(self)) logger.debug("set basearch = {0.basearch}".format(self))
logger.debug("set efiarch = {0.efiarch}".format(self)) logger.debug("set efiarch = {0.efiarch}".format(self))
logger.debug("set libdir = {0.libdir}".format(self)) logger.debug("set libdir = {0.libdir}".format(self))