heaven: remove KernelSU setup
suck Signed-off-by: ncatt <ncatt@noreply.cuynutt>
This commit is contained in:
parent
7a0c65ea02
commit
8ef0768e92
1 changed files with 0 additions and 17 deletions
17
heaven.sh
17
heaven.sh
|
|
@ -185,23 +185,6 @@ build_kernel(){
|
|||
config=$(basename "${defconfigs[$((defconfig_choice-1))]}")
|
||||
info "using defconfig: $config"
|
||||
|
||||
if confirm "do you want to add KernelSU?"; then
|
||||
read -rp "paste full command KernelSU setup: " ksu_command
|
||||
if [ -z "$ksu_command" ]; then
|
||||
err "no command found in box, will skip KernelSU."
|
||||
else
|
||||
info "setting up KernelSU..."
|
||||
"$ksu_command" || {
|
||||
err "setup KernelSU failed, check your link file setup and try again."
|
||||
return 1
|
||||
}
|
||||
good "KernelSU setup done."
|
||||
fi
|
||||
|
||||
else
|
||||
info "skipping KernelSU."
|
||||
fi
|
||||
|
||||
info "start build!"
|
||||
make -C $(pwd)/kernel_source O=$(pwd)/kernel_source/out clean -j$(nproc) && make -C $(pwd)/kernel_source O=$(pwd)/kernel_source/out mrproper -j$(nproc)
|
||||
clear
|
||||
|
|
|
|||
Reference in a new issue