buildbot: Avoid warnings from linkerconfig

linkerconfig complains if it can't find /system_etc or /product
partition, or if it fails to open /apex/<name>/apex_manifest.pb.

To avoid those warnings when running buildbot-build.sh, a temporary root
for linkerconfig is prepared with /system_etc and /product partitions
and also /apex directories with only relevant APEXes.

Bug: 159131609
Test: lunch aosp_arm64-userdebug
       m installclean
       art/tools/buildbot-build.sh --target
       # no warnings from linkerconfig
Change-Id: Ia75ae1fe9b3bc73ce9dbf5aa71c0153ffd798aae
1 file changed