From 6356b5ab72a658635dd018c25b21ce998250f887 Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sat, 3 Aug 2024 11:04:30 +0200 Subject: Add log.debug statements to follow profile symlink creation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas K. Hüttel --- catalyst/base/stagebase.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index 82300e88..2975236e 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -888,11 +888,14 @@ class StageBase(TargetBase, ClearBase, GenBase): # stage_path is chroot_path + root_path root_port_conf = Path(self.settings['stage_path'] + self.settings['port_conf']) + log.debug(' creating directory %s', root_port_conf) root_port_conf.mkdir(mode=0o755, parents=True, exist_ok=True) root_make_profile = root_port_conf / 'make.profile' + log.debug(' removing file %s', root_make_profile) root_make_profile.unlink(missing_ok=True) + log.debug(' symlinking it to %s', os.path.relpath(chroot_profile_path, root_port_conf)) root_make_profile.symlink_to(os.path.relpath(chroot_profile_path, root_port_conf), target_is_directory=True) -- cgit v1.2.3-65-gdbad