Merge lp:~liuyq0307/lava-dispatcher/fix-1195536 into lp:lava-dispatcher
Proposed by
Yongqin Liu
Status: | Merged |
---|---|
Merged at revision: | 633 |
Proposed branch: | lp:~liuyq0307/lava-dispatcher/fix-1195536 |
Merge into: | lp:lava-dispatcher |
Diff against target: |
185 lines (+53/-38) 5 files modified
lava_dispatcher/config.py (+2/-2) lava_dispatcher/default-config/lava-dispatcher/device-types/rtsm_ve-a15x1-a7x1.conf (+13/-7) lava_dispatcher/default-config/lava-dispatcher/device-types/rtsm_ve-a15x4-a7x4.conf (+12/-6) lava_dispatcher/device/fastmodel.py (+22/-19) lava_dispatcher/device/target.py (+4/-4) |
To merge this branch: | bzr merge lp:~liuyq0307/lava-dispatcher/fix-1195536 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tyler Baker | Approve | ||
Review via email:
|
Description of the change
1. fix the bug in _find_and_copy function,
we should use the root to genertate the src path
2. rename the file variable to file_name,
since file is a keyword of python
To post a comment you must log in.
One thing I am not sure is that if I should change the usage of _copy_needed_ files_from_ partition method in deploy_android method of lava_dispatcher /device/ fastmodel. py file.
it is called as such in the deploy_linaro method: needed_ files_from_ directory( odir) needed_ files_from_ partition( self.config. boot_part, 'rtsm') needed_ files_from_ partition( self.config. root_part, 'boot')
self._copy_
self._copy_
self._copy_
but called like this in the deploy_android method: needed_ files_from_ partition( self.config. boot_part, '')
self._copy_
if we add following line to the deploy_android method, I guess it will work too. needed_ files_from_ partition( self.config. boot_part, 'rtsm')
self._copy_
but do we really need to specify the second parameter?