From 27d83faab4bcd5a2af073ac28a6ce36de6a0bb99 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Wed, 22 Nov 2023 18:58:43 +0900 Subject: [PATCH] fix: symlink cleanup to only debian packages --- sysroot-scripts/sysroot-creator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysroot-scripts/sysroot-creator.sh b/sysroot-scripts/sysroot-creator.sh index 2000ba4..a6ea82b 100755 --- a/sysroot-scripts/sysroot-creator.sh +++ b/sysroot-scripts/sysroot-creator.sh @@ -353,9 +353,9 @@ CleanupJailSymlinks() { SAVEDPWD=$(pwd) cd ${INSTALL_ROOT} - local libdirs="lib usr/lib" + local libdirs="lib/${TRIPLE} usr/lib/${TRIPLE}" if [ -d lib64 ]; then - libdirs="${libdirs} lib64" + libdirs="${libdirs} lib64/${TRIPLE}" fi find $libdirs -type l -printf '%p %l\n' | while read link target; do