summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Bungert <[email protected]>2023-09-14 01:26:42 +0000
committerServer Team CI Bot <[email protected]>2023-09-14 01:26:42 +0000
commit2f87d0806ddddf452309a4370cc59ee292048634 (patch)
treed3e6cd520009c6dbd74ed6f77ebee0511580e375
parentd5f5dde574aca60935fc9e1acf9cb669e24f22de (diff)
extract: log source information
If you try hard enough and follow mount commands backwards you can surely get this same information, but when analyzing what the extract is actually doing it's nice to just be able to see what the image stack is.
-rw-r--r--curtin/commands/extract.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/curtin/commands/extract.py b/curtin/commands/extract.py
index fc7749cb..206790e4 100644
--- a/curtin/commands/extract.py
+++ b/curtin/commands/extract.py
@@ -114,6 +114,7 @@ class LayeredSourceHandler(AbstractSourceHandler):
def setup(self):
self._tmpdir = tempfile.mkdtemp()
+ LOG.debug(f"Setting up Layered Source for stack {self.image_stack}")
try:
self._download()
# Check that all images exists on disk and are not empty
@@ -158,6 +159,7 @@ class TrivialSourceHandler(AbstractSourceHandler):
self.path = path
def setup(self):
+ LOG.debug(f"Setting up Trivial Source for stack {self.path}")
return self.path
def cleanup(self):