mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-26 16:09:23 -05:00
Potential, but ugly, fix for Mi8937
Reported boot issues Notably this device went from 3.18 to 4.9 and likely has rough edges Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
47136145e5
commit
dfb376a4fc
@ -984,7 +984,7 @@ hardenDefconfig() {
|
||||
do
|
||||
#If the option is disabled, enable it
|
||||
sed -i 's/# CONFIG_'"$option"' is not set/CONFIG_'"$option"'=y/' $defconfigPath &>/dev/null || true;
|
||||
if [[ "$1" != *"kernel/oneplus/msm8996"* ]]; then
|
||||
if [[ "$1" != *"kernel/oneplus/msm8996"* ]] && [[ "$1" != *"kernel/xiaomi/msm8937"* ]]; then
|
||||
#If the option isn't present, add it enabled
|
||||
sed -zi '/CONFIG_'"$option"'=y/!s/$/\nCONFIG_'"$option"'=y/' $defconfigPath &>/dev/null || true;
|
||||
fi;
|
||||
|
Loading…
Reference in New Issue
Block a user