diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-07-29 22:29:50 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-07-29 22:29:50 +0200 |
commit | 8339543d77edee063bdd1288cb0e24b77865b437 (patch) | |
tree | 68d4b3af9b55f6e70f2c39bed077cb4ba8070006 /catalyst | |
parent | targets: Mount repos also under $ROOT for stage1 builds (diff) | |
download | catalyst-8339543d77edee063bdd1288cb0e24b77865b437.tar.gz catalyst-8339543d77edee063bdd1288cb0e24b77865b437.tar.bz2 catalyst-8339543d77edee063bdd1288cb0e24b77865b437.zip |
targets: improve path concatenation
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'catalyst')
-rw-r--r-- | catalyst/targets/stage1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalyst/targets/stage1.py b/catalyst/targets/stage1.py index 42931749..593509e4 100644 --- a/catalyst/targets/stage1.py +++ b/catalyst/targets/stage1.py @@ -33,7 +33,7 @@ class stage1(StageBase): self.mount[mount_id] = { 'enable': True, 'source': path, - 'target': Path(normpath("/tmp/stage1root") + "/" + str(self.get_repo_location(name))) + 'target': normpath("/tmp/stage1root") / self.get_repo_location(name) } def set_root_path(self): |