profiles: use correct lib64 path to sysroot-wrappers

Sysroot-wrappers contains binaries installed to /usr/lib64/sysroot-wrappers,
but the profile referenced them through the 'lib -> lib64' symlink. Stop
relying on that symlink, which is not present in arm64 profiles, and is
not part of 17.1 amd64 profiles.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
Jeremi Piotrowski 2021-07-30 07:40:40 +00:00
parent 0a1b0be7f3
commit b42cfedcf5

View File

@ -95,7 +95,7 @@ cros_pre_pkg_setup_sysroot_build_bin_dir() {
}
# Insert our sysroot wrappers into the path
SYSROOT_WRAPPERS_BIN="/usr/lib/sysroot-wrappers/bin"
SYSROOT_WRAPPERS_BIN="/usr/lib64/sysroot-wrappers/bin"
if [[ "$PATH" != *"$SYSROOT_WRAPPERS_BIN"* ]]; then
export PATH="$SYSROOT_WRAPPERS_BIN:$PATH"
fi