diff --git a/kernel/setup.sh b/kernel/setup.sh index 5ee6b1aa..397861cf 100755 --- a/kernel/setup.sh +++ b/kernel/setup.sh @@ -18,6 +18,7 @@ fi test -d "$GKI_ROOT/KernelSU" || git clone https://github.com/tiann/KernelSU cd "$GKI_ROOT/KernelSU" git stash && git pull +git checkout "$(git describe --abbrev=0 --tags)" cd "$GKI_ROOT" echo "[+] GKI_ROOT: $GKI_ROOT"