Using cros_workon

Work in progress, 2011/01/18, dianders

MUCH OF THIS MIGHT BE WRONG.  AT THE MOMENT, IT'S JUST MY OWN NOTES.  READ AT YOUR OWN RISK.

What exactly does cros_workon start do?

  1. If you're using the minilayout and you haven't already got the source code for the package, repo will be configured to sync down the repository containing the source for the package on the next call to 'repo sync'.
  2. The "-9999" version of the package will be placed in "../.config/cros_workon/${BOARD}", like "=dev-util/chromite-9999".
  3. The /etc/portage/package.keywords/cros-workon will be set as a symlink to the .config/cros_workon/${BOARD} file.  This will (I THINK) force portage to use the -9999 version of the package.
  4. The /etc/portage/package.unmask/cros-workon will be set as a symlink too.  This will (I THINK) allow the -9999 version to build, even though it should be masked.
The -9999 version of an ebuild is the one that should always be modified for cros_workon packages.  Something (cros_mark_as_stable) will create the versioned ones.

Comments