make system.img, ramdisk.img, userdata.img


Image: system.img

Target system fs image: out/target/product/generic/obj/PACKAGING/systemimage_unopt_intermediates/system.img

(unoptimized image)

out/debug/host/linux-x86/bin/mkyaffs2image -f  out/target/product/generic/system out/target/product/generic/obj/PACKAGING/systemimage_unopt_intermediates/system.img
Install system fs image: out/target/product/generic/system.img
out/host/linux-x86/bin/acp -fpt out/target/product/generic/obj/PACKAGING/systemimage_unopt_intermediates/system.img out/target/product/generic/system.img


Image: ramdisk.img
out/debug/host/linux-x86/bin/mkbootfs out/target/product/generic/root | out/debug/host/linux-x86/bin/minigzip > out/target/product/generic/ramdisk.img


Image: userdata.img

build-userdataimage-target called when TARGET_USERIMAGES_USE_EXT2 != true
      out/debug/host/linux-x86/bin/mkyaffs2image -f  out/target/product/generic/data out/target/product/generic/userdata.img


你可能感兴趣的:(image,system,ext,Android,与,解析)