blob: 5bab79eb83c5812bfbc7a7c33e42c3cece38c574 [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
Alex Vakulenkoa3062c52014-04-21 17:05:51 -070017
18#To enable additional debug logging in buffet daemon, run it as:
19# buffet --v=<level>, where <level> is verbosity level of debug info:
20# 1 - enable additional tracing of internal object construction and destruction
21# 2 - add tracing of request and response data sent over HTTP (beware of
22# privacy concerns).
23# 3 - enable low-level CURL tracing for HTTP communication.
24buffet --v=2