How to integrate individual packages in cuttlefish

797 views
Skip to first unread message

శంకర్ కుమార్ యల్లపు

unread,
Mar 20, 2020, 11:48:45 AM3/20/20
to Android Building
Hi,

I was just trying to integrate our changes into cuttlefish. I am getting an error called Offending entries when I add my make files in device/google/cuttlefish/vsoc_x86_64/device.mk.

Following is the error:

FAILED:
build/make/core/main.mk:1202: warning:  device/google/cuttlefish/vsoc_x86_64/phone/aosp_cf.mk produces files inside build/make/target/product/mainline_system.mks artifact path requirement.
Offending entries:

system/app/MyService/MyService.apk
system/etc/myfiles/config
system/priv-app/MyFramework/MyFramework.apk

Could anyone help me on why this error happens and how to resolve it?

Thanks,
Shankar

Dan Willemsen

unread,
Mar 23, 2020, 4:03:09 PM3/23/20
to Android Building
Cuttlefish has opted into the mainline restrictions about using a common system image. If this is meant to be generic, then maybe modify the mainline_system.mk file (or there are variables to provide temporary exemptions). Otherwise, configure your MyService / MyFramework modules to be on the product image (product_specific: true), and use /product instead of /system.

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/3525dc54-9ee0-47da-8536-70bba4e9f64f%40googlegroups.com.

శంకర్ కుమార్ యల్లపు

unread,
Mar 24, 2020, 11:50:58 AM3/24/20
to Android Building
Thanks Dan.


On Tuesday, 24 March 2020 01:33:09 UTC+5:30, Dan Willemsen wrote:
Cuttlefish has opted into the mainline restrictions about using a common system image. If this is meant to be generic, then maybe modify the mainline_system.mk file (or there are variables to provide temporary exemptions). Otherwise, configure your MyService / MyFramework modules to be on the product image (product_specific: true), and use /product instead of /system.

- Dan

On Fri, Mar 20, 2020 at 8:47 AM శంకర్ కుమార్ యల్లపు <sankark...@gmail.com> wrote:
Hi,

I was just trying to integrate our changes into cuttlefish. I am getting an error called Offending entries when I add my make files in device/google/cuttlefish/vsoc_x86_64/device.mk.

Following is the error:

FAILED:
build/make/core/main.mk:1202: warning:  device/google/cuttlefish/vsoc_x86_64/phone/aosp_cf.mk produces files inside build/make/target/product/mainline_system.mks artifact path requirement.
Offending entries:

system/app/MyService/MyService.apk
system/etc/myfiles/config
system/priv-app/MyFramework/MyFramework.apk

Could anyone help me on why this error happens and how to resolve it?

Thanks,
Shankar

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages