aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2016-09-18 20:27:14 -0700
committerBrian Dolbec <dolsen@gentoo.org>2016-09-18 20:27:14 -0700
commit6b4f6861ad9847fe5c1be5c60167578f2404e11d (patch)
tree13c210237108082b88ccf9c4c8d8a14deaa77e3c
parenttargets/support/chroot-functions.sh: Fix CHROOT partial breakage (diff)
downloadcatalyst-6b4f6861ad9847fe5c1be5c60167578f2404e11d.tar.gz
catalyst-6b4f6861ad9847fe5c1be5c60167578f2404e11d.tar.bz2
catalyst-6b4f6861ad9847fe5c1be5c60167578f2404e11d.zip
base/stagebase.py: Add 2 more debug logs for arch loading modules.
-rw-r--r--catalyst/base/stagebase.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 904103fb..68ccb79f 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -74,6 +74,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
machinemap = {}
arch_dir = self.settings["archdir"] + "/"
for x in [x[:-3] for x in os.listdir(arch_dir) if x.endswith(".py") and x != "__init__.py"]:
+ log.debug("Begin loading arch modules...")
try:
fh=open(arch_dir + x + ".py")
# This next line loads the plugin as a module and assigns it to
@@ -94,6 +95,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
# the dir should load just fine. If it doesn't, it's probably a
# syntax error in the module
log.warning("Can't find/load %s.py plugin in %s", x, arch_dir)
+ log.debug("Loaded arch module: %s", self.archmap[x])
if "chost" in self.settings:
hostmachine = self.settings["chost"].split("-")[0]