search for: boot_ld_library_path

Displaying 1 result from an estimated 1 matches for "boot_ld_library_path".

2010 Oct 23
1
[PATCH] Make appliance-building work on systems with default library search paths differing from the appliance's
...(+), 18 deletions(-) diff --git a/appliance/make.sh.in b/appliance/make.sh.in index efd1f46..d492ba5 100755 --- a/appliance/make.sh.in +++ b/appliance/make.sh.in @@ -24,6 +24,33 @@ set -e set -x if [ "@DIST@" = "REDHAT" ]; then + + if [[ $(uname -m) =~ .*64 ]]; then + BOOT_LD_LIBRARY_PATH="$(pwd)/../initramfs/lib64:$LD_LIBRARY_PATH" + else + BOOT_LD_LIBRARY_PATH="$(pwd)/../initramfs/lib:$LD_LIBRARY_PATH" + fi + + bootstrap_run() + { + LD_LIBRARY_PATH=$BOOT_LD_LIBRARY_PATH @FEBOOTSTRAP_RUN@ "$@" + } + + xargs0_bootstrap_run() + { + LD_L...