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