File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh -e
22set -x
33ARCH=" $1 "
4+ PAGESIZE=4096
45
56if [ -z " $ARCH " ]; then
67 ARCH=$( basename $0 .sh | sed -e ' s/.*-//' )
@@ -25,13 +26,13 @@ mkdir -p ${SCRATCH}
2526
2627cp $no_rpath_bin ${SCRATCH} /no-rpath
2728
28- oldRPath=$( ../src/patchelf --print-rpath ${SCRATCH} /no-rpath)
29+ oldRPath=$( ../src/patchelf --page-size ${PAGESIZE} -- print-rpath ${SCRATCH} /no-rpath)
2930if test -n " $oldRPath " ; then exit 1; fi
30- ../src/patchelf \
31- --set-interpreter " $( ../src/patchelf --print-interpreter ../src/patchelf) " \
31+ ../src/patchelf --page-size ${PAGESIZE} \
32+ --set-interpreter " $( ../src/patchelf --page-size ${PAGESIZE} -- print-interpreter ../src/patchelf) " \
3233 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx ${SCRATCH} /no-rpath
3334
34- newRPath=$( ../src/patchelf --print-rpath ${SCRATCH} /no-rpath)
35+ newRPath=$( ../src/patchelf --page-size ${PAGESIZE} -- print-rpath ${SCRATCH} /no-rpath)
3536if ! echo " $newRPath " | grep -q ' /foo:/bar' ; then
3637 echo " incomplete RPATH"
3738 exit 1
You can’t perform that action at this time.
0 commit comments