Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/tiann/KernelSU
Browse files Browse the repository at this point in the history
* 'main' of https://github.com/tiann/KernelSU:
  build(deps): bump gradle/actions from 3 to 4 in the actions group (tiann#1946)
  build(deps): bump the npm group across 1 directory with 17 updates (tiann#1937)
  build(deps): bump the crates group across 1 directory with 12 updates (tiann#1936)
  Update build-su.yml (tiann#1942)
  Upgrade ndk for CI (tiann#1941)
  ci: Fix ARCVM workflow to adapt to the change of kernel/Makefile (tiann#1906)
  build(deps): bump com.google.devtools.ksp from 2.0.0-1.0.23 to 2.0.0-1.0.24 in /manager in the maven group (tiann#1925)

Signed-off-by: Edwiin Kusuma Jaya <[email protected]>
  • Loading branch information
kutemeikito committed Aug 9, 2024
2 parents 1a170fb + d5d6c10 commit 5d8e2b8
Show file tree
Hide file tree
Showing 8 changed files with 278 additions and 224 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-kernel-arcvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
SUBLEVEL=$(grep -E '^SUBLEVEL = ' Makefile | awk '{print $3}')
echo "ChromeOS ARCVM Linux kernel version: $VERSION.$PATCHLEVEL.$SUBLEVEL"
echo "version=$VERSION.$PATCHLEVEL.$SUBLEVEL" >> $GITHUB_ENV
- name: Setup KernelSU
working-directory: kernel
run: |
Expand All @@ -94,7 +94,9 @@ jobs:
echo "[+] Add KernelSU driver to Makefile"
DRIVER_MAKEFILE=$KERNEL_ROOT/drivers/Makefile
grep -q "kernelsu" $DRIVER_MAKEFILE || echo "obj-y += kernelsu/" >> $DRIVER_MAKEFILE
DRIVER_KCONFIG=$KERNEL_ROOT/drivers/Kconfig
grep -q "kernelsu" "$DRIVER_MAKEFILE" || printf "\nobj-\$(CONFIG_KSU) += kernelsu/\n" >> "$DRIVER_MAKEFILE"
grep -q "kernelsu" "$DRIVER_KCONFIG" || sed -i "/endmenu/i\\source \"drivers/kernelsu/Kconfig\"" "$DRIVER_KCONFIG"
echo "[+] Apply KernelSU patches"
cd $KERNEL_ROOT && git apply $GITHUB_WORKSPACE/KernelSU/.github/patches/5.10/*.patch || echo "[-] No patch found"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/build-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ jobs:
java-version: 21

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

- name: Setup Android SDK
uses: android-actions/setup-android@v3
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/build-su.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,11 @@ jobs:
else
echo "UPLOAD=false" >> $GITHUB_OUTPUT
fi
- uses: nttld/setup-ndk@v1
with:
ndk-version: r26d
- name: Build su
working-directory: ./userspace/su
run: ndk-build
run: $ANDROID_NDK/ndk-build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: su
path: ./userspace/su/libs
path: ./userspace/su/libs
2 changes: 1 addition & 1 deletion manager/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
agp = "8.5.1"
kotlin = "2.0.0"
ksp = "2.0.0-1.0.23"
ksp = "2.0.0-1.0.24"
compose-bom = "2024.06.00"
lifecycle = "2.8.4"
accompanist = "0.34.0"
Expand Down
68 changes: 46 additions & 22 deletions userspace/ksud/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion userspace/ksud/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rust-version = "1.77.2"
anyhow = "1"
clap = { version = "4", features = ["derive"] }
const_format = "0.2"
zip = { version = "2.1.5", default-features = false }
zip = { version = "2.1.6", default-features = false }
zip-extensions = { version = "0.8.1", features = [
"deflate",
"deflate64",
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "MIT",
"devDependencies": {
"vitepress": "^1.3.1",
"vue": "^3.4.34"
"vue": "^3.4.35"
},
"scripts": {
"docs:dev": "vitepress dev docs",
Expand Down
Loading

0 comments on commit 5d8e2b8

Please sign in to comment.