[elbe-devel] [PATCH 0/7] elbepack: introduce and use mount helper
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Tue May 7 11:54:36 CEST 2024
Instead of open-coding call to mount(8) use a context manager for better
resource management.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Thomas Weißschuh (7):
elbepack: hdimg: correct order of loopdev creation and teardown
elbepack: hdimg: drop duplicate loopdev creation
elbepack: imgutils: add mount helper
elbepack: fetch_initvm_pkgs: use mount helper
elbepack: hdimg: use mount helper
elbepack: finetuning: use mount helper
elbepack: hdimg: simplify grub device.map handling
elbepack/commands/fetch_initvm_pkgs.py | 10 ++--
elbepack/filesystem.py | 17 ------
elbepack/finetuning.py | 14 ++---
elbepack/hdimg.py | 94 +++++++++++-----------------------
elbepack/imgutils.py | 23 +++++++++
5 files changed, 66 insertions(+), 92 deletions(-)
---
base-commit: 248c507530e4bac9b4a0e85edbd58b33ca243076
change-id: 20240430-mount-32c5fbabe604
Best regards,
--
Thomas Weißschuh <thomas.weissschuh at linutronix.de>
More information about the elbe-devel
mailing list