1
0
mirror of synced 2026-04-16 07:56:15 +00:00

2006-11-15 14:31:33 by steve

Don't touch TLS if we're on a 64 bit host.

  See #397933
This commit is contained in:
steve
2006-11-15 14:31:34 +00:00
parent 1abc474dfc
commit 203adbb5cc
4 changed files with 45 additions and 11 deletions

View File

@@ -27,6 +27,15 @@ fi
logMessage Script $0 starting
#
# Don't touch TLS on 64 bit platforms.
#
if [ "`uname -m`" = "x86_64" ]; then
logMessage "Ignoring TLS since we're a 64 bit host."
exit
fi
#
# Disable TLS and create an empty directory in its place
#

View File

@@ -95,18 +95,25 @@ chroot ${prefix} /usr/bin/apt-get update
#
# For sarge we don't have that option, so we disable TLS.
#
case "${dist}" in
etch|sid)
logMessage "Installing xen-aware libc6"
if [ "`uname -m`" = "x86_64" ]; then
installDebianPackage ${prefix} libc6-xen
;;
*)
logMessage "Disabling TLS"
mv ${prefix}/lib/tls ${prefix}/lib/tls.disabled
mkdir ${prefix}/lib/tls
;;
esac
logMessage "Ignoring TLS since we're a 64 bit host."
else
case "${dist}" in
etch|sid)
logMessage "Installing xen-aware libc6"
installDebianPackage ${prefix} libc6-xen
;;
*)
logMessage "Disabling TLS"
mv ${prefix}/lib/tls ${prefix}/lib/tls.disabled
mkdir ${prefix}/lib/tls
;;
esac
fi

View File

@@ -27,6 +27,15 @@ fi
logMessage Script $0 starting
#
# Don't touch TLS on 64 bit platforms.
#
if [ "`uname -m`" = "x86_64" ]; then
logMessage "Ignoring TLS since we're a 64 bit host."
exit
fi
#
# Disable TLS and create an empty directory in its place
#

View File

@@ -26,6 +26,15 @@ logMessage Script $0 starting
#
# Don't touch TLS on 64 bit platforms.
#
if [ "`uname -m`" = "x86_64" ]; then
logMessage "Ignoring TLS since we're a 64 bit host."
exit
fi
#
# Disable TLS and create an empty directory in its place
#