add sarien local manifests

This commit is contained in:
Casper Chang
2021-01-26 13:43:20 +08:00
parent 8d4576dcf4
commit 676ee9381a
3 changed files with 49 additions and 10 deletions

View File

@@ -24,14 +24,14 @@ then
rm -fr ${_working_full_path}/.repo/local_manifests
echo "INFO: rm -fr ${_working_full_path}/.repo/local_manifests"
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
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
mv ${_working_full_path}/.repo/${local_manifest_dir} ${_working_full_path}/.repo/
fi
echo "INFO: ls ${_working_full_path}/.repo"