Current linaro-android-media-create has an unnecessary dependency on debian.debfile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Medium
|
Milo Casagrande |
Bug Description
Android doesn't have a need to parse deb files -- but currently, linaro-
Traceback (most recent call last):
File "./linaro-
from linaro_
File "/home/
from linaro_
File "/home/
from linaro_
File "/home/
from debian.debfile import DebFile
ImportError: No module named debian.debfile
This makes it unnecessarily complicated to work with linaro-
Related branches
- James Tunnicliffe (community): Approve
-
Diff: 164 lines (+69/-41)4 files modifiedlinaro_image_tools/hwpack/builder.py (+1/-39)
linaro_image_tools/hwpack/handler.py (+1/-1)
linaro_image_tools/hwpack/package_unpacker.py (+66/-0)
linaro_image_tools/hwpack/tests/test_builder.py (+1/-1)
Changed in linaro-image-tools: | |
assignee: | nobody → Milo Casagrande (milo) |
milestone: | none → 2013.06 |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in linaro-image-tools: | |
status: | Confirmed → In Progress |
Changed in linaro-image-tools: | |
status: | In Progress → Fix Committed |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
Obviously we cannot remove the package dependency on python-debian, but it should be possible to refactor the code so that at least that part should be usable on non-Debian distro (using l-i-t from source code). It might involve a little bit of moving things around.