Commit d9158aec authored by fuyanbin's avatar fuyanbin
Browse files

有些固件的 system.parition 里还有一个 system 目录

parent 0ea150b8
......@@ -86,7 +86,7 @@ build_image() {
android_sdk="${android_sdk//$'\n'}"
if [[ "$android_sdk" -ge 28 ]]
then
find ./services/ -type f -name "*.rc" -exec install -t "$build_dir"/system/etc/init/ {} \;
find ./services/ -type f -name "*.rc" -exec install -t "$system_path"/etc/init/ {} \;
else
pushd "$boot_dir"
abootimg -x "$build_dir/boot.PARTITION" ramdisk
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment