[elbe-devel] [PATCH] elbepack: initvmaction: only sync relevant files

Thomas Weißschuh thomas.weissschuh at linutronix.de
Tue Apr 23 08:23:16 CEST 2024


Now that all files needed to run elbe are part of elbepack/, nothing
else needs to by synchronized.
This matches the behavior of the "initvm create" subcommand.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/initvmaction.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elbepack/initvmaction.py b/elbepack/initvmaction.py
index a5caa8fec853..8e8717b4e3a7 100644
--- a/elbepack/initvmaction.py
+++ b/elbepack/initvmaction.py
@@ -883,7 +883,8 @@ class SyncAction(InitVMAction):
                 *[arg for e in excludes for arg in ('--exclude', e)],
                 f'--rsh=ssh -p {cfg["sshport"]}',
                 '--chown=root:root',
-                f'{top_dir}/',
+                f'{top_dir}/elbe',
+                f'{top_dir}/elbepack',
                 'root at localhost:/var/cache/elbe/devel'
             ], check=True)
         except subprocess.CalledProcessError as E:

---
base-commit: 9d8411747148c0bc88935c39f13387fcae5238fb
change-id: 20240423-sync-ab7076ea0287

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh at linutronix.de>



More information about the elbe-devel mailing list