Commit d9158aec authored by fuyanbin's avatar fuyanbin
Browse files

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

parent 0ea150b8
...@@ -86,7 +86,7 @@ build_image() { ...@@ -86,7 +86,7 @@ build_image() {
android_sdk="${android_sdk//$'\n'}" android_sdk="${android_sdk//$'\n'}"
if [[ "$android_sdk" -ge 28 ]] if [[ "$android_sdk" -ge 28 ]]
then 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 else
pushd "$boot_dir" pushd "$boot_dir"
abootimg -x "$build_dir/boot.PARTITION" ramdisk 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