summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2007-07-04 00:49:14 +0200
committermaximilian attems <maks@debian.org>2007-07-04 00:49:14 +0200
commit02b76d4d71a6e5c9cae1c0acaba281e3def583e0 (patch)
tree33d785ea6f1ad69035a76491bb0222f336157b61 /hook-functions
parent5ac61dd320ed9616a7e986fa824f804dbbd626af (diff)
downloadinitramfs-tools-02b76d4d71a6e5c9cae1c0acaba281e3def583e0.tar.gz
initramfs-tools-02b76d4d71a6e5c9cae1c0acaba281e3def583e0.zip
hook-functions: fix Xen boot
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions
index a133a0b..131f132 100644
--- a/hook-functions
+++ b/hook-functions
@@ -147,7 +147,7 @@ copy_exec() {
# Try to use non-optimised libraries where possible.
# We assume that all HWCAP libraries will be in tls.
- nonoptlib=$(echo "${x}" | sed -e 's#/lib/tls.*/\(lib.*\)#/lib/\1#')
+ nonoptlib=$(echo "${x}" | sed -e 's#/lib/\(tls\|i686\).*/\(lib.*\)#/lib/\2#')
if [ -e "${nonoptlib}" ]; then
x="${nonoptlib}"