Skip to content

Commit f2ddc48

Browse files
author
Robin Peng
committed
update_symbol_list.sh: update for GKI_KERNEL_BRANCH
* determine GKI_KERNEL_BRANCH from current SHA Bug: 277560840 Change-Id: Ia976125baf3292b8dadf0ca531f9dbe46796740b Signed-off-by: Robin Peng <[email protected]>
1 parent 61f36ac commit f2ddc48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

update_symbol_list.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ if [ -z "${GKI_KERNEL_REMOTE}" ];then
300300
GKI_KERNEL_REMOTE="aosp"
301301
fi
302302
if [ -z "${GKI_KERNEL_BRANCH}" ];then
303-
GKI_KERNEL_BRANCH="android13-5.10"
303+
GKI_KERNEL_SHA=`repo info aosp | grep "Manifest revision" | sed 's/Manifest revision: //g'`
304+
GKI_KERNEL_BRANCH=`repo forall aosp -c git branch -r --list 'aosp/android13-5.10*' --contains ${GKI_KERNEL_SHA} | grep " aosp/" | sed 's/ aosp\///g'`
304305
fi
305306
if [ -z "${BUILD_SCRIPT}" ];then
306307
BUILD_SCRIPT="./build_slider.sh"

0 commit comments

Comments
 (0)