[elbe-devel] [PATCH] debian: python3-elbe-bin: add python3-parted dependency

John Ogness john.ogness at linutronix.de
Mon May 9 23:24:29 CEST 2022


Add python3-parted as a runtime dependency since it is needed by
the "check_updates" command:

Traceback (most recent call last):
  File "/usr/bin/elbe", line 57, in <module>
    mod = __import__(modname)
  File "/usr/lib/python3/dist-packages/elbepack/commands/check_updates.py", line 12, in <module>
    from elbepack import virtapt
  File "/usr/lib/python3/dist-packages/elbepack/virtapt.py", line 22, in <module>
    from elbepack.rfs import create_apt_prefs
  File "/usr/lib/python3/dist-packages/elbepack/rfs.py", line 15, in <module>
    from elbepack.efilesystem import BuildImgFs
  File "/usr/lib/python3/dist-packages/elbepack/efilesystem.py", line 19, in <module>
    from elbepack.hdimg import do_hdimg
  File "/usr/lib/python3/dist-packages/elbepack/hdimg.py", line 13, in <module>
    import parted
ModuleNotFoundError: No module named 'parted'

Signed-off-by: John Ogness <john.ogness at linutronix.de>
---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index 0594922e6..8ecbed5dc 100644
--- a/debian/control
+++ b/debian/control
@@ -45,6 +45,7 @@ Depends: ${misc:Depends},
   python3-elbe-common (= ${binary:Version}),
   python3,
   python3-mako,
+  python3-parted,
   debian-archive-keyring (>= 2017.5+deb9u1)
 Description: elbe executable
  Common files for ELBE (embedded Linux build environment). These

base-commit: 3824dd1e70f250debaf730f9c11ef350c10ea865
-- 
2.20.1



More information about the elbe-devel mailing list