grpc: Split unreferenced ALTS libs to grpc-alts

Package libgrpc++_alts.so.* and libgrpc++_error_details.so.* into a
separate ${PN}-alts subpackage via PACKAGE_BEFORE_PN. No binary or
shared library in gBMC links against these libraries (0 DT_NEEDED
references across the rootfs), avoiding 132 KiB (aarch64) / 26.6 KiB
(armv7a) of unused shared libraries in the target image.

Tested:
Built obmc-phosphor-image for arm32 and arm64. Verified that
libgrpc++_alts.so.* and libgrpc++_error_details.so.* are omitted from
the rootfs and that readelf -d confirms 0 missing DT_NEEDED
dependencies across all rootfs binaries.
- platform5: http://fusion2/f52e85e0-ffd0-3e90-b269-f29c0efed958
- platform15: http://fusion2/13f4d265-fcd4-3c71-9393-96d7eb97061b
- platform18: http://fusion2/27afd1d3-96e1-3b13-8ec6-0df984230234
- platform17: http://fusion2/cc4480a5-ba5e-3937-acea-2416b0fe95ef
- platform11+ext: http://fusion2/f5f759b0-82dd-3708-a13d-a4f4990de224
- platform11: http://fusion2/21ec7f63-ac7d-3a71-b5fd-d1a3f0e37610
- platform25: http://fusion2/b9079702-6179-3eba-afe3-7eb161817d45
Google-Bug-Id: 481049523
Change-Id: I8fb5952ef751f22203c005f849e3713767ad09ac
Signed-off-by: Willy Tu <wltu@google.com>
1 file changed
tree: 4dfccb813d3dd6152bc5230a9875df909ea94081
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-benchmark/
  5. recipes-bsp/
  6. recipes-connectivity/
  7. recipes-core/
  8. recipes-devtools/
  9. recipes-extended/
  10. recipes-google/
  11. recipes-kernel/
  12. recipes-phosphor/
  13. recipes-support/
  14. recipes-tpm1/
  15. recipes-tpm2/
  16. recipes-x86/
  17. LICENSE
  18. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.