done build module switch
This commit is contained in:
@@ -89,40 +89,48 @@ foreach config $configs {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
puts "INFO: backup config.txt"
|
||||
send "cp config.txt config.txt.bak\r"
|
||||
|
||||
#
|
||||
# parse config file done
|
||||
#
|
||||
|
||||
set timeout -1
|
||||
|
||||
spawn ./cros_repoinit.sh ${working_dir} ${repo_branch}
|
||||
expect "repo has been initialized"
|
||||
# spawn ./cros_repoinit.sh ${working_dir} ${repo_branch}
|
||||
# expect "repo has been initialized"
|
||||
|
||||
spawn ./cros_cp_localmanifest.sh ${working_dir} ${repo_branch}
|
||||
expect "local_manifests"
|
||||
# spawn ./cros_cp_localmanifest.sh ${working_dir} ${repo_branch}
|
||||
# expect "local_manifests"
|
||||
|
||||
spawn ./cros_reposync.sh ${working_dir}
|
||||
expect "repo sync has finished successfully"
|
||||
# spawn ./cros_reposync.sh ${working_dir}
|
||||
# expect "repo sync has finished successfully"
|
||||
|
||||
spawn ./cros_cp_utilities.sh ${working_dir}
|
||||
expect "dut_pty.sh"
|
||||
# spawn ./cros_cp_utilities.sh ${working_dir}
|
||||
# expect "dut_pty.sh"
|
||||
|
||||
spawn ./cros_enter_sdk.sh ${working_dir}
|
||||
expect "password"
|
||||
send "$user_password\r"
|
||||
|
||||
expect "(cr)"
|
||||
send "setup_board --board=volteer --profile=eldrid --force | tee daily_setup_board.log\r"
|
||||
# send "setup_board --board=volteer --profile=eldrid --force | tee daily_setup_board.log\r"
|
||||
send "setup_board --board=volteer --profile=eldrid | tee daily_setup_board.log\r"
|
||||
|
||||
expect "(cr)"
|
||||
if { $is_build_packages } {
|
||||
send "USE=\"-ml_benchmark_drivers\" ./build_packages --board=volteer --accept_licenses='*' | tee daily_build_packages.log\r"
|
||||
expect "Builds complete"
|
||||
send "\r"
|
||||
|
||||
|
||||
} else {
|
||||
puts "INFO: is_build_packages disabled"
|
||||
expect "(cr)"
|
||||
send "\r"
|
||||
}
|
||||
expect "(cr)"
|
||||
|
||||
if { $is_build_image } {
|
||||
send "./build_image --enable_serial='ttyS0,115200n8' --board=volteer --noenable_rootfs_verification test | tee daily_build_image.log\r"
|
||||
@@ -130,10 +138,10 @@ if { $is_build_image } {
|
||||
|
||||
} else {
|
||||
puts "INFO: is_build_image disabled"
|
||||
expect "(cr)"
|
||||
|
||||
send "\r"
|
||||
}
|
||||
|
||||
expect "(cr)"
|
||||
if { $is_build_firmware } {
|
||||
send "cros-workon-volteer start chromeos-base/chromeos-ec chromeos-base/chromeos-config-bsp-volteer-private \r"
|
||||
|
||||
@@ -148,6 +156,8 @@ if { $is_build_firmware } {
|
||||
|
||||
} else {
|
||||
puts "INFO: is_build_firmware disabled"
|
||||
send "\r"
|
||||
|
||||
}
|
||||
|
||||
interact
|
||||
|
||||
Reference in New Issue
Block a user