Compare commits
4 Commits
firmware-n
...
stable
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db77879e23 | ||
|
|
af22786b16 | ||
|
|
2283bd185e | ||
|
|
03384e5850 |
16
config.txt
16
config.txt
@@ -1,15 +1,15 @@
|
||||
user_password=casper
|
||||
working_dir=fw_nissa
|
||||
repo_branch=firmware-nissa-15217.B
|
||||
working_dir=stable_b
|
||||
repo_branch=stable
|
||||
chrome_board_name=nissa
|
||||
chrome_project_name=joxer
|
||||
chipset_name = adln
|
||||
is_repo_sync=false
|
||||
is_setup_board=false
|
||||
is_build_packages=true
|
||||
is_build_firmware=true
|
||||
chipset_name=adln
|
||||
is_repo_sync=true
|
||||
is_setup_board=true
|
||||
is_build_packages=false
|
||||
is_build_firmware=false
|
||||
is_build_image=false
|
||||
is_install_image=false
|
||||
dut_ip_addr=192.168.1.2
|
||||
reposync_thread=4
|
||||
is_kernel_tty_enable=true
|
||||
is_kernel_tty_enable=true
|
||||
|
||||
@@ -25,12 +25,20 @@ then
|
||||
echo "INFO: copy local manifests, No branch specified"
|
||||
cp -R ${SCRIPT_DIR}/local_manifests ${_working_full_path}/.repo/
|
||||
else
|
||||
rm -fr ${_working_full_path}/.repo/local_manifests
|
||||
echo "INFO: rm -fr ${_working_full_path}/.repo/local_manifests"
|
||||
echo "INFO: copy $2 local manifests"
|
||||
local_manifest_dir="$2_local_manifests"
|
||||
cp -R ${SCRIPT_DIR}/${local_manifest_dir} ${_working_full_path}/.repo
|
||||
mv ${_working_full_path}/.repo/${local_manifest_dir} ${_working_full_path}/.repo/local_manifests
|
||||
|
||||
if [ $2 = "stable" ]; then
|
||||
rm -fr ${_working_full_path}/.repo/local_manifests
|
||||
echo "INFO: rm -fr ${_working_full_path}/.repo/local_manifests"
|
||||
echo "INFO: copy local manifests, stable branch is specified, using ToT's manifests"
|
||||
cp -R ${SCRIPT_DIR}/local_manifests ${_working_full_path}/.repo/
|
||||
else
|
||||
rm -fr ${_working_full_path}/.repo/local_manifests
|
||||
echo "INFO: rm -fr ${_working_full_path}/.repo/local_manifests"
|
||||
echo "INFO: copy $2 local manifests"
|
||||
local_manifest_dir="$2_local_manifests"
|
||||
cp -R ${SCRIPT_DIR}/${local_manifest_dir} ${_working_full_path}/.repo
|
||||
mv ${_working_full_path}/.repo/${local_manifest_dir} ${_working_full_path}/.repo/local_manifests
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "INFO: ls ${_working_full_path}/.repo"
|
||||
|
||||
Reference in New Issue
Block a user