mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
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:
parent
0a1b0be7f3
commit
b42cfedcf5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user