Mike Frysinger bb18db9908 cros_workon: minimize portageq penalties
Calling portageq is fairly slow, so only call it when required, and
combine the multiple calls into a single one.  In some cases, we'd
end up calling it multiple times which quickly multiplies the slowness.

BUG=None
TEST=`./cros_workon --board x86-alex start dtc` still works
TEST=`./cros_workon --board x86-alex list` still works and is fast
TEST=`./cros_workon --board x86-alex stop dtc` still works

Change-Id: I6ac6ba283c6529384a7981ad4fffa480bae52234
Reviewed-on: https://gerrit.chromium.org/gerrit/18400
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
2012-07-09 16:44:20 -07:00
2012-06-05 03:03:11 -07:00
2011-12-14 20:57:10 -08:00
2012-05-11 14:10:38 -07:00
2012-06-26 13:58:51 -07:00
2012-05-11 14:10:38 -07:00
2012-05-11 14:10:38 -07:00
2011-08-26 13:04:29 -07:00
2012-05-11 14:10:38 -07:00
2012-05-11 14:10:38 -07:00
2012-05-11 14:10:38 -07:00
2012-05-11 14:10:38 -07:00
2012-05-11 14:10:38 -07:00
Description
image build and composition scripts for Flatcar Container Linux
BSD-3-Clause 167 MiB
Languages
Shell 93.1%
Python 6.9%