commit | 3124ca73164189e94931eedf50b68a8e8cb52686 | [log] [tgz] |
---|---|---|
author | Henry Barnor <[email protected]> | Fri Feb 18 03:26:07 2022 |
committer | Chromeos LUCI <[email protected]> | Thu Mar 24 00:14:28 2022 |
tree | 0a01cb9e9358bc6b001ca9f5792c871e6aaed04a | |
parent | 7a7daa17d7ee0321b697a672a148faeda49c6e8f [diff] |
nebraska: Add LD_LIBRARY_PATH to nebraska.conf python3 shared libraries are installed in /usr/local/${LIBDIR}. In CrOS builds ld.so.conf contains /usr/local/${LIBDIR} and LD_LIBRARY_PATH is also configured globally in the development rootfs. Including /usr/local path in ld.so.conf has led to bugs where binaries that link against libraries in /usr/local are not detected in testing but result in errors in releases. MiniOS avoids these bugs by setting the LD_LIBRARY_PATH when it needs to run test-only binaries like nebraska. This change also preemptively ensures that in CrOS nebraska.conf is not dependent on /usr/local paths in ld.so.conf BUG=b:206814209 TEST=ssh ${DUT} start nebraska Cq-Depend: chromium:3534330 Change-Id: Ifc9b10d5500f5a33f652461c372a0a4fe1e78c2b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/3475653 Reviewed-by: Jae Hoon Kim <[email protected]> Reviewed-by: Mike Frysinger <[email protected]> Tested-by: Henry Barnor <[email protected]> Reviewed-by: Kyle Shimabukuro <[email protected]> Commit-Queue: Henry Barnor <[email protected]>