You can reading the Adnroid source code in path build/core/Makefile about 
create <http://172.26.39.3:8080/xiaomi_6683/s?defs=create&project=android>-
system <http://172.26.39.3:8080/xiaomi_6683/s?defs=system&project=android>-
product <http://172.26.39.3:8080/xiaomi_6683/s?defs=product&project=android>
-symlink 
<http://172.26.39.3:8080/xiaomi_6683/s?defs=symlink&project=android>

在 2019年4月16日星期二 UTC+8上午12:15:27,Pether Pettersson写道:
>
> We are trying to enable the product image and have so far been able to 
> build it and place an example app on it successfully. The problem occurs 
> when we run the emulator, we have /product at the root, but this is a 
> symlink to /system/product, which in turn is a symlink to /product.
> I have not been able to find where this link is created, there is no info 
> in either logcat or dmesg and the only thing i can find in the source is 
> that /system/product > /product being created, as is the one to /vendor, 
> which works fine.
>
>
> We have the following in our device make file:
> BOARD_USES_PRODUCTIMAGE := true
>  
> # The value of these two are copied from vendor image properties
> BOARD_PRODUCTIMAGE_PARTITION_SIZE := 100000000
> BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
>  
> TARGET_COPY_OUT_PRODUCT := product
>
>
>
> And in the example app we have added:
> LOCAL_PRODUCT_MODULE := true
>
>
> We've following what's on this page:
>
> https://source.android.com/devices/bootloader/product-partitions
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to