forked from LegacyXperia/local_manifests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdates.sh
executable file
·37 lines (27 loc) · 865 Bytes
/
updates.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
if [ ! -d ".repo" ]; then
echo -e "No .repo directory found. Is this an Android build tree?"
exit 1
fi
android="${PWD}"
# Add local cherries if they exist
if [ -f ${android}/updates-local.sh ]; then
source ${android}/updates-local.sh
fi
# build: Add option to disable block-based ota
cherries+=(CM_78849)
# Revert "Revert "Reenable support for non-PIE executables""
cherries+=(CM_79136)
# arm: Allow disabling PIE for dynamically linked executables
cherries+=(CM_81758)
# libstagefright: Allow using camera recording buffer as input for encoder
cherries+=(CM_84178)
# libstagefright: Fix video encoder input buffer
cherries+=(CM_84179)
# vold: add ro.vold.umsdirtyratio property
cherries+=(CM_88635)
if [ -z $cherries ]; then
echo -e "Nothing to cherry-pick!"
else
${android}/vendor/extra/repopick.py -b ${cherries[@]}
fi