Support cherrypicks
This commit is contained in:
@@ -536,6 +536,12 @@ from_source() {
|
|||||||
execute git -C "$SRC_DIR" worktree prune --verbose
|
execute git -C "$SRC_DIR" worktree prune --verbose
|
||||||
execute git -C "$SRC_DIR" worktree add --detach "$BUILD_DIR" "$ref"
|
execute git -C "$SRC_DIR" worktree add --detach "$BUILD_DIR" "$ref"
|
||||||
|
|
||||||
|
# Add cherrypick commits if specified in profile
|
||||||
|
for commit in ${P_ARR[cherrypicks]}; do
|
||||||
|
echo "Cherry-picking $commit"
|
||||||
|
execute git -C "$BUILD_DIR" cherry-pick "$commit"
|
||||||
|
done
|
||||||
|
|
||||||
# Print commit info
|
# Print commit info
|
||||||
commit=$(git -C "$BUILD_DIR" rev-parse HEAD)
|
commit=$(git -C "$BUILD_DIR" rev-parse HEAD)
|
||||||
description=$(git -C "$BUILD_DIR" describe)
|
description=$(git -C "$BUILD_DIR" describe)
|
||||||
|
|||||||
1
profiles
1
profiles
@@ -22,6 +22,7 @@ declare -Ag r4s=(
|
|||||||
CONFIG_TARGET_ROOTFS_PARTSIZE=512 CONFIG_TARGET_KERNEL_PARTSIZE=32 \
|
CONFIG_TARGET_ROOTFS_PARTSIZE=512 CONFIG_TARGET_KERNEL_PARTSIZE=32 \
|
||||||
CONFIG_BUILDBOT=n"
|
CONFIG_BUILDBOT=n"
|
||||||
[files]="/mnt/backup"
|
[files]="/mnt/backup"
|
||||||
|
[cherrypicks]="59d6e31 bb251b8"
|
||||||
)
|
)
|
||||||
|
|
||||||
declare -Ag ax6000=(
|
declare -Ag ax6000=(
|
||||||
|
|||||||
Reference in New Issue
Block a user