mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-09 01:45:08 -04:00
Add basic validation to init.sh
This commit is contained in:
parent
c6f7abd855
commit
2ac0a5cd15
2 changed files with 15 additions and 0 deletions
|
@ -197,6 +197,7 @@ if [ "$MICROG_INCLUDED" = true ]; then echo "include vendor/lineage/config/sce-m
|
|||
cp -r $patches"android_vendor_lineage/firmware_deblobber" .;
|
||||
cp $patches"android_vendor_lineage/firmware_deblobber.mk" build/tasks/firmware_deblobber.mk;
|
||||
sed -i 's/LINEAGE_BUILDTYPE := UNOFFICIAL/LINEAGE_BUILDTYPE := dos/' config/common.mk; #Change buildtype
|
||||
if [ "$NON_COMMERCIAL_USE_PATCHES" = true ]; then sed -i 's/LINEAGE_BUILDTYPE := dos/LINEAGE_BUILDTYPE := dosNC/' config/common.mk; fi;
|
||||
sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app with Silence
|
||||
#if [ "$HOSTS_BLOCKING" = false ]; then echo "PRODUCT_PACKAGES += DNS66" >> config/sce.mk; fi; #Include DNS66 as an alternative
|
||||
if [ "$HOSTS_BLOCKING" = false ]; then cp $patches"android_vendor_lineage/dns66.json" prebuilt/common/etc/dns66.json; fi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue