Currently we have python code duplicated in few locations:
- /usr/local/factory/py
- /usr/local/factory/factory.par
- /usr/local/factory-mini/factory-mini.par
Roughly:
- factory-mini.par contains everything needed to run shopfloor & gooftool
- factory.par added pytests & goofy (for remote offline mode tests to run)
- /usr/local/factory contains everything
However this is causing issues today because
- stateful partition is getting smaller space
- downloading and uploading toolkit in factory with limited network is painful
(a 25M toolkit may take 10 min to download / upload)
Maybe we can revise and clean up for what should be contained in toolkit, for example
- is goofy needed in factory.par
- do we really need factory.par in every toolkit
- can we include factory.par only if needed on particular boards (since we will now use local toolkit first)
Comment 1 by hungte@chromium.org
, Jul 14 2017