Install external/iproute2/ip under vendor image

Skip to first unread message

Alessandro Piccinno

Mar 9, 2023, 3:19:25 PMMar 9
to Android Building

I need to install ip binary provided by external/iproute2 into my vendor.img along within the system image (this is by default). I added a new cc_binary in the external/iproute2/ip/Android.bp with "vendor: true" and the "vendor_available: true" in the external/iproute2/lib/Android.bp where there are the shared libraries which the ip binary depends on.
As a result I see the ip binary installed only in the vendor image, but not anymore in the system image, while the libraries are available both in the system and vendor images. What am I missing in order to get the ip binary installed both on system and vendor images?

Any suggestion or commet will be highly appreciated.

Reply all
Reply to author
0 new messages