dtb_files cannot be used instead of dtb_file
Bug #1235941 reported by
Fathi Boudra
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
High
|
Milo Casagrande |
Bug Description
When using dtb_file, we can see a deprecation warning: use the 'dtb_files' field instead of 'dtb_file'
Unfortunately, it doesn't seems possible. dtb_file is using a hardcoded board.dtb file used to set the bootcmd.
dtb_files is only useful to copy files from rootfs to boot dir and doesn't set a default dtb file to use for bootcmd.
line 873 in boards.py:
if self.dtb_file:
dtb = _get_file_
if not self.dtb_file or not dtb:
I guess we should test dtb_files as well and set the first dtb in the list as the default.
Related branches
lp:~gesha/linaro-image-tools/1235941
- Milo Casagrande (community): Approve
-
Diff: 99 lines (+44/-2)3 files modifiedlinaro-media-create (+2/-1)
linaro_image_tools/media_create/__init__.py (+5/-0)
linaro_image_tools/media_create/boards.py (+37/-1)
Changed in linaro-image-tools: | |
assignee: | nobody → Georgy Redkozubov (gesha) |
milestone: | none → 2013.10 |
Changed in linaro-image-tools: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in linaro-image-tools: | |
status: | Confirmed → In Progress |
Changed in linaro-image-tools: | |
assignee: | Georgy Redkozubov (gesha) → Milo Casagrande (milo) |
Changed in linaro-image-tools: | |
milestone: | 2013.10 → 2013.12 |
Changed in linaro-image-tools: | |
status: | In Progress → Fix Committed |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.