mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 14:36:17 -04:00
you want it, you got it!
now compile it yourself. Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
parent
f5d06ea9aa
commit
4f8cfc8a41
17 changed files with 2921 additions and 2 deletions
|
@ -929,8 +929,10 @@ export -f changeDefaultDNS;
|
|||
|
||||
editKernelLocalversion() {
|
||||
local defconfigPath=$(getDefconfig)
|
||||
sed -i 's/CONFIG_LOCALVERSION=".*"/CONFIG_LOCALVERSION="'"$1"'"/' $defconfigPath &>/dev/null || true;
|
||||
sed -zi '/CONFIG_LOCALVERSION="'"$1"'"/!s/$/\nCONFIG_LOCALVERSION="'"$1"'"/' $defconfigPath &>/dev/null;
|
||||
local replacement=$1;
|
||||
if [ "$DOS_SNET" = true ]; then local replacement="-oink"; fi;
|
||||
sed -i 's/CONFIG_LOCALVERSION=".*"/CONFIG_LOCALVERSION="'"$replacement"'"/' $defconfigPath &>/dev/null || true;
|
||||
sed -zi '/CONFIG_LOCALVERSION="'"$replacement"'"/!s/$/\nCONFIG_LOCALVERSION="'"$replacement"'"/' $defconfigPath &>/dev/null;
|
||||
}
|
||||
export -f editKernelLocalversion;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue