Skip to content

Commit cc7d1ea

Browse files
committed
Comment in symlinks tests, but do not fail
1 parent 45bee20 commit cc7d1ea

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

sysroot/sysroot-creator.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ CleanupJailSymlinks() {
456456
SAVEDPWD=$(pwd)
457457
cd ${INSTALL_ROOT}
458458
local libdirs="lib usr/lib"
459-
if [ "${ARCH}" != "MIPS" ]; then
459+
if [ -d lib64 ]; then
460460
libdirs="${libdirs} lib64"
461461
fi
462462
find $libdirs -type l -printf '%p %l\n' | while read link target; do
@@ -483,14 +483,14 @@ CleanupJailSymlinks() {
483483
;;
484484
esac
485485
done
486-
# find $libdirs -type l -printf '%p %l\n' | while read link target; do
487-
# # Make sure we catch new bad links.
488-
# if [ ! -r "${link}" ]; then
489-
# echo "ERROR: FOUND BAD LINK ${link}"
490-
# ls -l ${link}
491-
# exit 1
492-
# fi
493-
# done
486+
find $libdirs -type l -printf '%p %l\n' | while read link target; do
487+
# Make sure we catch new bad links.
488+
if [ ! -r "${link}" ]; then
489+
echo "ERROR: FOUND BAD LINK ${link}"
490+
ls -l ${link}
491+
#exit 1
492+
fi
493+
done
494494
cd "$SAVEDPWD"
495495
}
496496

0 commit comments

Comments
 (0)