mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-07-24 07:10:49 -04:00
Fixes + Churn
- Fix instances of awk failing on missing globs - Remove unwanted packages from work/user/managed profiles - Remove proprietary camera extensions Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
05bb9b039b
commit
e74f861c8e
12 changed files with 28 additions and 17 deletions
|
@ -404,7 +404,7 @@ if [ "$DOS_HOSTS_BLOCKING" = true ]; then awk -i inplace '!/50-lineage.sh/' conf
|
|||
awk -i inplace '!/PRODUCT_EXTRA_RECOVERY_KEYS/' config/*.mk; #Remove Lineage extra keys
|
||||
awk -i inplace '!/security\/lineage/' config/*.mk; #Remove Lineage extra keys
|
||||
awk -i inplace '!/config_multiuserMaximumUsers/' overlay/common/frameworks/base/core/res/res/values/config.xml; #Conflict
|
||||
sed -i '/config_locationExtraPackageNames/,+9d' overlay/common/frameworks/base/core/res/res/values/config.xml; #Conflict
|
||||
sed -i '/config_locationExtraPackageNames/,+11d' overlay/common/frameworks/base/core/res/res/values/config.xml; #Conflict
|
||||
awk -i inplace '!/def_backup_transport/' overlay/common/frameworks/base/packages/SettingsProvider/res/values/defaults.xml; #Unset default backup provider
|
||||
if [ "$DOS_DEBLOBBER_REMOVE_AUDIOFX" = true ]; then sed -i '/TARGET_EXCLUDES_AUDIOFX/,+3d' config/common_full.mk; fi; #Remove AudioFX
|
||||
sed -i 's/LINEAGE_BUILDTYPE := UNOFFICIAL/LINEAGE_BUILDTYPE := dos/' config/*.mk; #Change buildtype
|
||||
|
@ -413,6 +413,8 @@ echo 'include vendor/divested/divestos.mk' >> config/common.mk; #Include our cus
|
|||
awk -i inplace '!/Eleven/' config/common_full.mk; #Remove Music Player
|
||||
awk -i inplace '!/enforce-product-packages-exist-internal/' config/common.mk; #Ignore missing packages
|
||||
cp -f "$DOS_PATCHES_COMMON/config_webview_packages.xml" overlay/common/frameworks/base/core/res/res/xml/config_webview_packages.xml; #Change allowed WebView providers
|
||||
awk -i inplace '!/com.android.vending/' overlay/common/frameworks/base/core/res/res/values/vendor_required_apps*.xml; #Remove unwanted apps
|
||||
awk -i inplace '!/com.google.android/' overlay/common/frameworks/base/core/res/res/values/vendor_required_apps*.xml;
|
||||
fi;
|
||||
|
||||
if enter "vendor/divested"; then
|
||||
|
@ -483,6 +485,10 @@ if enterAndClear "kernel/fairphone/sdm632"; then
|
|||
sed -i 's|/../../prebuilts/tools-lineage|/../../../prebuilts/tools-lineage|' lib/Makefile; #fixup typo
|
||||
fi;
|
||||
|
||||
if enterAndClear "kernel/oneplus/sm8150"; then
|
||||
rm Android.bp;
|
||||
fi;
|
||||
|
||||
if enterAndClear "kernel/oneplus/sm7250"; then
|
||||
git revert --no-edit 6eede8c64f268991abe669a6123e929e295fac29;
|
||||
fi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue