mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Fixups
- Revert Freetype branch switching for 15.1+, broken - Don't include OpenEUICC on Pixel 2 and 3 series, they won't work - Churn Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
1fde0f9c45
commit
52a0c55c41
11 changed files with 29 additions and 37 deletions
|
@ -723,16 +723,19 @@ export -f disableAPEX;
|
|||
|
||||
includeOE() {
|
||||
cd "$DOS_BUILD_BASE/$1";
|
||||
if [ -f device.mk ]; then
|
||||
if grep -sq "euicc.xml" device.mk; then
|
||||
echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device.mk;
|
||||
echo "Enabled OpenEUICC inclusion for $1";
|
||||
#Skip: Pixel 2 series (only supports Google Fi), Pixel 3/a series (broken on 20.0)
|
||||
if [[ "$1" != *"device/google/bonito"* ]] && [[ "$1" != *"device/google/crosshatch"* ]] && [[ "$1" != *"device/google/wahoo"* ]]; then
|
||||
if [ -f device.mk ]; then
|
||||
if grep -sq "euicc.xml" device.mk; then
|
||||
echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device.mk;
|
||||
echo "Enabled OpenEUICC inclusion for $1";
|
||||
fi;
|
||||
fi;
|
||||
fi;
|
||||
if [ -f device-lineage.mk ]; then
|
||||
if grep -sq "euicc.xml" device-lineage.mk; then
|
||||
echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device-lineage.mk;
|
||||
echo "Enabled OpenEUICC inclusion for $1";
|
||||
if [ -f device-lineage.mk ]; then
|
||||
if grep -sq "euicc.xml" device-lineage.mk; then
|
||||
echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device-lineage.mk;
|
||||
echo "Enabled OpenEUICC inclusion for $1";
|
||||
fi;
|
||||
fi;
|
||||
fi;
|
||||
cd "$DOS_BUILD_BASE";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue