4 Commits

Author SHA1 Message Date
Casper Chang
db77879e23 Use ToT's local manifest for stable branch 2025-03-14 09:38:01 +08:00
Casper Chang
af22786b16 init stable branch 2025-03-14 07:44:54 +08:00
Casper Chang
2283bd185e modify default config file 2025-03-13 17:23:01 +08:00
Casper Chang
03384e5850 modify main branch config 2025-03-11 20:09:53 +13:00
2 changed files with 22 additions and 14 deletions

View File

@@ -1,15 +1,15 @@
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
reposync_thread=4 reposync_thread=4
is_kernel_tty_enable=true is_kernel_tty_enable=true

View File

@@ -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"