chrootsetup_linux.sh: handle some absolute path ldd libs
commit8b39f26c5136e9234eb885c312b9613b2fc7eba9
authorKyle J. McKay <mackyle@gmail.com>
Thu, 6 Mar 2014 09:14:59 +0000 (6 01:14 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 6 Mar 2014 09:14:59 +0000 (6 01:14 -0800)
treeb3ab30bc630e6d41592f3b52c11cfb83db75838c
parentad54ed070b6b00f93c264d988a0ab91781a039f3
chrootsetup_linux.sh: handle some absolute path ldd libs

When ldd produces absolute path libraries in its output, attempt
to handle those located in /usr/lib, /lib and subdirectory one
level below those two.

This allows peculiar platform-specific absolute path libraries
to be correctly picked up when creating the chroot jail /lib
directory while remaining portable.
chrootsetup_linux.sh