aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-07-30 16:45:23 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-07-30 16:45:23 +0200
commit228569f3f827e7e116fede8901dbc50118519eae (patch)
treeb994db95c39ac697bd915cd37cffbb6c64002142
parentstagebase: Create parent directories (diff)
downloadcatalyst-228569f3f827e7e116fede8901dbc50118519eae.tar.gz
catalyst-228569f3f827e7e116fede8901dbc50118519eae.tar.bz2
catalyst-228569f3f827e7e116fede8901dbc50118519eae.zip
stage1: we can't mount any squashfs twice, so we make sure we get a bind mount
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--catalyst/targets/stage1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalyst/targets/stage1.py b/catalyst/targets/stage1.py
index 593509e4..1c9a4d42 100644
--- a/catalyst/targets/stage1.py
+++ b/catalyst/targets/stage1.py
@@ -32,7 +32,7 @@ class stage1(StageBase):
mount_id = f'root_repo_{name}'
self.mount[mount_id] = {
'enable': True,
- 'source': path,
+ 'source': self.get_repo_location(name),
'target': normpath("/tmp/stage1root") / self.get_repo_location(name)
}