Skip to content

Commit

Permalink
KernelSU v1.0.2+magic
Browse files Browse the repository at this point in the history
Removed/Skipped: (-1)
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream commit: tiann/KernelSU@898e9d4
		- upstream policy change tiann#1705

Added from 5ec1cff/KernelSU @ 5ec1cff@d56711c (+28)
	Update build-manager.yml
	not build lkm when build manager
	also do not build ksud for other platform
	allow build lkm manually
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	ci: set correct paths
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	ksubot: make MESSAGE_THREAD_ID optional
	ci: use var for chat id
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	Auto push lkms to branch `LKM`
	Update build-lkm.yml
	Update build-lkm.yml
	Build manager with pre-built LKMs (tiann#4)
	remove devpts hook

Added from: tiann#2273 (+1)
	Update Busybox

Added: personal changes (+9)
	kernel/ksu.c: provide dummy ksu_handle_devpts
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook.c: use upstream ksu_umount_mnt
	kernel: require path_umount backporting
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.2+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
  • Loading branch information
backslashxx committed Dec 8, 2024
1 parent 6f9eb42 commit 690b4ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ifeq ($(shell test -e $(srctree)/$(src)/../.git; echo $$?),0)
$(shell cd $(srctree)/$(src); /usr/bin/env PATH="$$PATH":/usr/bin:/usr/local/bin [ -f ../.git/shallow ] && git fetch --unshallow)
KSU_GIT_VERSION := $(shell cd $(srctree)/$(src); /usr/bin/env PATH="$$PATH":/usr/bin:/usr/local/bin git rev-list --count HEAD)
# ksu_version: major * 10000 + git version + 200 for historical reasons
$(eval KSU_VERSION=$(shell expr 10000 + $(KSU_GIT_VERSION) + 200))
$(eval KSU_VERSION=$(shell expr 10000 + $(KSU_GIT_VERSION) + 165))
$(info -- KernelSU version: $(KSU_VERSION))
ccflags-y += -DKSU_VERSION=$(KSU_VERSION)
else # If there is no .git file, the default version will be passed.
Expand Down
4 changes: 2 additions & 2 deletions manager/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fun getGitDescribe(): String {
fun getVersionCode(): Int {
val commitCount = getGitCommitCount()
val major = 1
return major * 10000 + commitCount + 200
return major * 10000 + commitCount + 165
}

fun getVersionName(): String {
Expand Down Expand Up @@ -95,4 +95,4 @@ subprojects {
}
}
}
}
}
2 changes: 1 addition & 1 deletion userspace/ksud/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn get_git_version() -> Result<(u32, String), std::io::Error> {
.trim()
.parse()
.map_err(|_| std::io::Error::new(std::io::ErrorKind::Other, "Failed to parse git count"))?;
let version_code = 10000 + 200 + version_code; // For historical reasons
let version_code = 10000 + 165 + version_code; // For historical reasons

let version_name = String::from_utf8(
Command::new("git")
Expand Down

0 comments on commit 690b4ec

Please sign in to comment.