Update submodules + misc fixes

This commit is contained in:
Tad 2019-03-14 16:09:17 -04:00
parent 23f8759937
commit 2367074a0f
2 changed files with 5 additions and 3 deletions

4
.gitmodules vendored
View File

@ -1,9 +1,9 @@
[submodule "Patches/DivestOS_Wallpapers"]
path = Patches/Wallpapers
url = personal-lan-git:tad/dos/Wallpapers.git
url = git@gitlab.com:divested/wallpapers.git
[submodule "Patches/Linux"]
path = Patches/Linux
url = git@gitlab.com:divested/kernel_patches.git
[submodule "PrebuiltApps"]
path = PrebuiltApps
url = personal-lan-git:tad/dos/PrebuiltApps.git
url = git@gitlab.com:divested/prebuilt_apps.git

View File

@ -130,7 +130,7 @@ patch -p1 < "$DOS_PATCHES/android_packages_apps_SetupWizard/0001-Remove_Analytic
enterAndClear "packages/apps/Updater";
patch -p1 < "$DOS_PATCHES_COMMON/android_packages_apps_Updater/0001-Server.patch"; #Switch to our server
patch -p1 < "$DOS_PATCHES/android_packages_apps_Updater/0002-Tor_Support.patch"; #Add Tor support
sed -i 's/PROP_BUILD_VERSION_INCREMENTAL);/PROP_BUILD_VERSION_INCREMENTAL).replaceAll("\\.", "");' src/org/lineageos/updater/misc/Utils.java; #Remove periods from incremental version
sed -i 's/PROP_BUILD_VERSION_INCREMENTAL);/PROP_BUILD_VERSION_INCREMENTAL).replaceAll("\\\\.", "");/' src/org/lineageos/updater/misc/Utils.java; #Remove periods from incremental version
#TODO: Remove changelog
enterAndClear "packages/apps/WallpaperPicker";
@ -179,6 +179,8 @@ if [ "$DOS_HOSTS_BLOCKING" = false ]; then echo "PRODUCT_PACKAGES += $DOS_HOSTS_
#
enterAndClear "device/lge/mako";
echo "allow kickstart usbfs:dir search;" >> sepolicy/kickstart.te; #Fix forceencrypt on first boot
echo "allow system_server sensors_data_file:dir search;" >> sepolicy/system_server.te; #Fix qcom_sensors log spam
echo "allow system_server sensors_data_file:dir r_file_perms;" >> sepolicy/system_server.te;
sed -i 's/1333788672/880803840/' BoardConfig.mk; #don't touch partitions! DOS -user fits with 70M free
awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfig.mk;