heaven: remove KernelSU setup

suck

Signed-off-by: ncatt <ncatt@noreply.cuynutt>
This commit is contained in:
Nguyen Cao An Tuong 2026-04-22 22:25:48 +07:00
commit 8ef0768e92

View file

@ -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