|
|
@@ -16,18 +16,6 @@ runs:
|
|
|
cd "$COMMON"
|
|
|
curl -LSs "https://raw.githubusercontent.com/pershoot/KernelSU-Next/dev-susfs/kernel/setup.sh" | bash -s dev
|
|
|
|
|
|
- #cd KernelSU-Next
|
|
|
- #git checkout c2013a15ae1eaca69032fa6016ffefb70adf6146
|
|
|
-
|
|
|
- #cd KernelSU-Next/kernel
|
|
|
- #COMMITS_COUNT=$(/usr/bin/git rev-list --count HEAD)
|
|
|
- #BASE_VERSION=30000
|
|
|
- #KSU_VERSION=$(expr $COMMITS_COUNT "+" $BASE_VERSION)
|
|
|
- #sed -i "s/^KSU_VERSION_FALLBACK := 1$/KSU_VERSION_FALLBACK := ${KSU_VERSION}/" Kbuild
|
|
|
-
|
|
|
- #KSU_GIT_TAG="$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.1")"
|
|
|
- #sed -i "s/^KSU_VERSION_TAG_FALLBACK := v0.0.1$/KSU_VERSION_TAG_FALLBACK := ${KSU_GIT_TAG}/" Kbuild
|
|
|
-
|
|
|
cd "$GITHUB_WORKSPACE"
|
|
|
cat >> "$GKI_DEFCONFIG" << 'EOF'
|
|
|
# KernelSU Configuration
|
|
|
@@ -40,19 +28,7 @@ runs:
|
|
|
run: |
|
|
|
cd "$COMMON"
|
|
|
curl -LSs "https://raw.githubusercontent.com/pershoot/KernelSU-Next/dev-susfs/kernel/setup.sh" | bash -s dev-susfs
|
|
|
-
|
|
|
- #cd KernelSU-Next
|
|
|
- #git checkout c2013a15ae1eaca69032fa6016ffefb70adf6146
|
|
|
-
|
|
|
- #cd KernelSU-Next/kernel
|
|
|
- #COMMITS_COUNT=$(/usr/bin/git rev-list --count HEAD)
|
|
|
- #BASE_VERSION=30000
|
|
|
- #KSU_VERSION=$(expr $COMMITS_COUNT "+" $BASE_VERSION)
|
|
|
- #sed -i "s/^KSU_VERSION_FALLBACK := 1$/KSU_VERSION_FALLBACK := ${KSU_VERSION}/" Kbuild
|
|
|
-
|
|
|
- #KSU_GIT_TAG="$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.1")"
|
|
|
- #sed -i "s/^KSU_VERSION_TAG_FALLBACK := v0.0.1$/KSU_VERSION_TAG_FALLBACK := ${KSU_GIT_TAG}/" Kbuild
|
|
|
-
|
|
|
+
|
|
|
cd "$GITHUB_WORKSPACE"
|
|
|
cat >> "$GKI_DEFCONFIG" << 'EOF'
|
|
|
# KernelSU Configuration
|