Merge lp:~liuyq0307/lava-dispatcher/mount-data-partition into lp:lava-dispatcher
Proposed by
Yongqin Liu
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 197 | ||||
Proposed branch: | lp:~liuyq0307/lava-dispatcher/mount-data-partition | ||||
Merge into: | lp:lava-dispatcher | ||||
Diff against target: |
148 lines (+43/-15) 4 files modified
lava_dispatcher/client/base.py (+9/-0) lava_dispatcher/client/master.py (+29/-13) lava_dispatcher/default-config/lava-dispatcher/device-defaults.conf (+4/-1) lava_dispatcher/default-config/lava-dispatcher/device-types/panda.conf (+1/-1) |
||||
To merge this branch: | bzr merge lp:~liuyq0307/lava-dispatcher/mount-data-partition | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Le Chi Thu (community) | Approve | ||
Review via email: mp+89050@code.launchpad.net |
Description of the change
modify to mount data mount point with sdcard partition
To post a comment you must log in.
This is mixed with another branch. Both of these are really important changes though, so we should get them tested, reviewed, and merged before the release if at all possible.
182 - _purge_ linaro_ android_ sdcard( session) linaro_ android_ sdcard( session)
183 +# _purge_
Why are we not running this now?
Also, you seem to have several commented out code lines, should those just be removed?
This can be in another merge, but... block\/ mmcblk0p% s/d" init.rc' block\/ mmcblk0p% s/d" init.rc' s/mmcblk0p% s/g" init.rc' s/mmcblk0p% s/g" init.rc' s/mmcblk1p% s/g" init.rc'
95 - session.run(
96 - 'sed -i "/mount ext4 \/dev\/
97 - % data_part_org)
98 +# session.run(
99 +# 'sed -i "/mount ext4 \/dev\/
100 +# % data_part_org)
101 + session.run('sed -i "s/mmcblk0p%
102 + % (data_part_org, data_part_lava))
103 session.run('sed -i "s/mmcblk0p%
104 % (sys_part_org, sys_part_lava))
105 - # for snowball the mcvblk1 is used instead of mmcblk0.
106 + # for snowball the mcvblk1 is used instead of mmcblk0.
107 session.run('sed -i "s/mmcblk1p%
We should probably have a config option for root device rather than hardcode mmcblk device and handle special cases in code like this. I think that would be much nicer.
The important question is - with this change, can you start things with am start? When I was getting the encryption error, I could run monkey, but anything requiring activity manager had problems (0xbench, glmark2, etc)