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: android-porting+unsubscr...@googlegroups.com
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 android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to