chore(debug-tools): add a couple of useful tools

This commit is contained in:
Lars Sjöström 2025-03-12 14:12:38 +01:00
parent 4c0ae9086b
commit 865d73abab
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View file

@ -63,7 +63,7 @@ runCommand name
cp -Pv "$srcfile" "$destfile"
chmod 755 "$destfile"
patchelf --set-rpath /usr/lib $destfile
patchelf --set-rpath /usr/lib $destfile || true
patchelf --set-interpreter /lib/ld-linux-x86-64.so.2 $destfile || true
}