[elbe-devel] [PATCH 1/7] elbepack: efilesystem: specify full destination path to excursion
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Tue Dec 17 13:24:24 CET 2024
While shutil.copy2() works with a destination directory, upcoming
changes to Excursion() won't. Always pass the full destination.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/efilesystem.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/efilesystem.py b/elbepack/efilesystem.py
index 77d457988ab296c21923849e534994d6e0af153e..95d118bbb4a5863caa51bdc479734177abb247f6 100644
--- a/elbepack/efilesystem.py
+++ b/elbepack/efilesystem.py
@@ -325,7 +325,7 @@ class ChRootFilesystem(ElbeFilesystem):
if not os.path.exists(ui):
ui = '/usr/bin/' + self.interpreter
- self._excursions.append(Excursion(ui, False, '/usr/bin'))
+ self._excursions.append(Excursion(ui, False, '/usr/bin/' + self.interpreter))
for excursion in self._excursions:
excursion.do(self)
--
2.47.1
More information about the elbe-devel
mailing list