Skip to content

Commit

Permalink
fix: symlink cleanup to only debian packages
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Nov 22, 2023
1 parent 7ccc7db commit 27d83fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sysroot-scripts/sysroot-creator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27d83fa

Please sign in to comment.