mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
only update git submodules in project/trees
do not update them in project/repos - despite what the previous commit message says, this behaviour is error prone and should be avoided. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -146,6 +146,13 @@ prepare_new_tree()
|
||||
git_reset_rev "${project}/${tree}" "${rev}" "err" || \
|
||||
err "prepare_new_trees ${project}/${tree}: cannot reset <- ${rev}"
|
||||
|
||||
(
|
||||
cd "${project}/${tree}" || \
|
||||
err "prepare_new_tree: !cd \"${project}/${tree}\""
|
||||
git submodule update --init --checkout || \
|
||||
err "prepare_new_tree ${project}/${tree}: can't update git modules"
|
||||
)
|
||||
|
||||
git_am_patches "${PWD}/${project}/${tree}" \
|
||||
"${PWD}/${cfgsdir}/${tree}/patches" "err" || \
|
||||
err "prepare_new_trees ${project}/${tree}: cannot apply patches"
|
||||
|
||||
Reference in New Issue
Block a user