aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-07-30 17:28:21 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-07-30 17:28:21 +0200
commit5f8440d1b1429305a3636a5c82642089e2c754fb (patch)
treeb3778ecb220cb48e8239d9d69da355d65201eae9 /catalyst
parentstage1: make sure we bind-mount within the chroot dir (diff)
downloadcatalyst-5f8440d1b1429305a3636a5c82642089e2c754fb.tar.gz
catalyst-5f8440d1b1429305a3636a5c82642089e2c754fb.tar.bz2
catalyst-5f8440d1b1429305a3636a5c82642089e2c754fb.zip
stage1: apparently we need to populate the chroot_path setting first
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'catalyst')
-rw-r--r--catalyst/targets/stage1.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/catalyst/targets/stage1.py b/catalyst/targets/stage1.py
index cd10c86a..0cb399c3 100644
--- a/catalyst/targets/stage1.py
+++ b/catalyst/targets/stage1.py
@@ -31,6 +31,7 @@ class stage1(StageBase):
# otherwise we may end up trying to mount the same squashfs twice instead
# of a bind mount
# * take the directory inside the chroot as source, not the host directory
+ self.set_chroot_path()
for path, name, _ in self.repos:
name = get_repo_name(path)
mount_id = f'root_repo_{name}'