setup_board: reload cros_workon'd packages

The list of packages worked on persists when the board's sysroot is
recreated (list stored in .config/cros_workon/) but the information is
not passed to portage's db. A dummy call to cros_workon regenerates the
necessary symlinks as per CL:267112 and fixes the discrepancy.

BUG=chromium:679831
TEST=manual:
cros_workon start arc-mesa;
setup_board --force;
equery w arc-mesa # now points to -9999 ebuild instead of "stable"
TEST=./setup_board --board=cyan
TEST=./setup_board --board=veyron_minnie

Change-Id: I6dd251557f89198a8bdc9e0c7b57ed658b70c703
Reviewed-on: https://chromium-review.googlesource.com/426369
Commit-Ready: Nicolas Norvez <norvez@chromium.org>
Tested-by: Nicolas Norvez <norvez@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed