mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Tiny tweaks
This commit is contained in:
parent
ccce1fad9b
commit
1cde58eaa4
7 changed files with 7 additions and 8 deletions
|
@ -663,7 +663,7 @@ hardenDefconfig() {
|
|||
do
|
||||
sed -i 's/# '"CONFIG_$option"' is not set/'"CONFIG_$option"'=y/' $defconfigPath &>/dev/null || true;
|
||||
#Some defconfigs are very minimal/not-autogenerated, so lets add the rest. Obviously most won't have any affect as they aren't supported.
|
||||
if [[ "$defconfigPath" == *"lineage"* ]]; then
|
||||
if [[ "$defconfigPath" == *"lineage"* ]] && [[ "$1" != *"kernel/oneplus/msm8996"* ]]; then
|
||||
if ! grep -q "CONFIG_$option=y" $defconfigPath; then
|
||||
echo "CONFIG_$option=y" | tee -a $defconfigPath > /dev/null;
|
||||
fi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue