aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ad7cd12e..82300e88 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -888,6 +888,8 @@ class StageBase(TargetBase, ClearBase, GenBase):
# stage_path is chroot_path + root_path
root_port_conf = Path(self.settings['stage_path'] + self.settings['port_conf'])
+ root_port_conf.mkdir(mode=0o755, parents=True, exist_ok=True)
+
root_make_profile = root_port_conf / 'make.profile'
root_make_profile.unlink(missing_ok=True)