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