Update 'before.sh'

This commit is contained in:
matt1432 2022-11-02 13:37:44 -04:00
parent 6949194f55
commit bafcbfa86c

View file

@ -14,15 +14,4 @@ echo "PRODUCT_PACKAGES += \\
IchnaeaNlpBackend \\ IchnaeaNlpBackend \\
LocalGsmNlpBackend \\ LocalGsmNlpBackend \\
AuroraServices \\ AuroraServices \\
NominatimGeocoderBackend" | tee "/srv/src/LINEAGE_19_1/vendor/partner_gms/products/gms.mk" NominatimGeocoderBackend" | tee "/srv/src/LINEAGE_19_1/vendor/partner_gms/products/gms.mk"
## add OxygenOS overlay to build
sed -i "1s;^;\$(call inherit-product, vendor/OOS/OOS.mk)\n\n;" "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk"
## remove unwanted app from OxygenOS
DIR="/srv/src/LINEAGE_19_1/vendor/OOS/OOS.mk"
sed -i "/ OP.*/d" $DIR;
echo " OPCamera \\
OPFileManager \\
OPGallery" | tee -a $DIR