diff --git a/.github/workflows/build_dev.yml b/.github/workflows/build_dev.yml index b6e34d3d..d2a93bee 100644 --- a/.github/workflows/build_dev.yml +++ b/.github/workflows/build_dev.yml @@ -17,6 +17,8 @@ on: - "user/**" - "tools/**" - "version" + workflow_call: + workflow_dispatch: jobs: Build-kpimg: diff --git a/kernel/patch/patch.c b/kernel/patch/patch.c index 2716a196..7a315b7e 100644 --- a/kernel/patch/patch.c +++ b/kernel/patch/patch.c @@ -83,10 +83,10 @@ static void before_rest_init(hook_fargs4_t *args, void *udata) rc = resolve_pt_regs(); log_boot("resolve_pt_regs done: %d\n", rc); +#ifdef ANDROID rc = su_compat_init(); log_boot("su_compat_init done: %d\n", rc); -#ifdef ANDROID rc = kpuserd_init(); log_boot("kpuserd_init done: %d\n", rc); #endif