Do not use stdout to pass data from python to the linaro-media-create shell script
Bug #697238 reported by
Guilherme Salgado
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
High
|
Guilherme Salgado |
Bug Description
In l-m-c, setup_partitions() evals all the output of a python script, but that script calls out to several external utilities which may write to stdout and depending on what they write, eval will fail. One alternative to avoid that is to have the python script write to a file just the bits we want to pass back to shell.
Related branches
lp:~salgado/linaro-image-tools/bug-697238
- James Westby (community): Approve
-
Diff: 74 lines (+19/-11)3 files modifiedlinaro-media-create (+5/-3)
media_create/partitions.py (+6/-2)
tests/integration.txt (+8/-6)
Changed in linaro-image-tools: | |
assignee: | nobody → Guilherme Salgado (salgado) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in linaro-image-tools: | |
status: | In Progress → Fix Released |
To post a comment you must log in.