mirror of
https://github.com/chenxiaolong/avbroot.git
synced 2026-07-03 14:05:11 +02:00
461392c226
This adds a wrapper for /init that spawns a child process to ptrace the parent. When stage 1 execs stage 2, the tracer will bind mount the new otacerts.zip, detach, and exit. The mount process works, but stage 2 panics and reboots to the bootloader for unknown reasons. The conditions that lead to the reboot don't result in the kernel log being preserved. Issue: #225 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
8 lines
152 B
Makefile
8 lines
152 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := init
|
|
LOCAL_SRC_FILES := init.c
|
|
LOCAL_LDFLAGS := -static
|
|
include $(BUILD_EXECUTABLE)
|