use private overlay's manifest
This commit is contained in:
@@ -114,9 +114,6 @@ foreach config $configs {
|
||||
}
|
||||
}
|
||||
|
||||
puts "INFO: backup config.txt"
|
||||
send "cp config.txt config.txt.bak\r"
|
||||
|
||||
#
|
||||
# parse config file done
|
||||
#
|
||||
@@ -126,8 +123,13 @@ set timeout -1
|
||||
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"
|
||||
# todo: if firmware-volteer-13672.B, use setup_project.sh in config/
|
||||
if { $repo_branch eq "firmware-volteer-13672.B" } {
|
||||
puts "INFO: firmware-volteer-13672.B, use setup_project.sh in config/"
|
||||
} else {
|
||||
spawn ./cros_cp_localmanifest.sh ${working_dir} ${repo_branch}
|
||||
expect "local_manifests"
|
||||
}
|
||||
|
||||
if { $is_repo_sync } {
|
||||
spawn ./cros_reposync.sh ${working_dir} ${reposync_thread}
|
||||
@@ -145,6 +147,17 @@ expect "password"
|
||||
send "$user_password\r"
|
||||
|
||||
expect "(cr)"
|
||||
if { $repo_branch eq "firmware-volteer-13672.B" } {
|
||||
puts "INFO: ../config/setup_project.sh ${chrome_board_name} ${chrome_project_name} ${repo_branch}"
|
||||
send "../config/setup_project.sh ${chrome_board_name} ${chrome_project_name} ${repo_branch}\r"
|
||||
expect "(y/N)"
|
||||
send "y\r"
|
||||
expect "(y/N)"
|
||||
send "y\r"
|
||||
expect "repo sync has finished successfully."
|
||||
send "\r"
|
||||
}
|
||||
|
||||
if { $is_setup_board } {
|
||||
|
||||
puts "INFO setup board: $chrome_board_name"
|
||||
|
||||
Reference in New Issue
Block a user