Christopher Wiley | b2bec59 | 2014-03-27 15:33:28 -0700 | [diff] [blame] | 1 | Some common workflows for developing with buffet: |
| 2 | |
| 3 | # Tell portage that you'd like to make local changes to Buffet: |
| 4 | cros_workon start --board=${BOARD} platform2 |
| 5 | |
| 6 | # Edit files in platform2/buffet/ |
| 7 | vim ... |
| 8 | |
| 9 | # Compile and install those changes into the chroot: |
| 10 | USE=buffet emerge-<board> platform2 |
| 11 | |
| 12 | # Compile and run buffet unittests |
| 13 | USE=buffet P2_TEST_FILTER="buffet::*" FEATURES=test emerge-<board> platform2 |
| 14 | |
| 15 | # Deploy the most recently built version of buffet to a DUT: |
| 16 | cros deploy --board=${BOARD} <remote host> platform2 |