projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36defb8
)
mysql: use proper proc file in hostname patch
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 27 Jan 2011 22:43:17 +0000
(22:43 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 27 Jan 2011 22:43:17 +0000
(22:43 +0000)
SVN-Revision: 25183
libs/mysql/patches/502-fix-hostname.patch
patch
|
blob
|
history
diff --git
a/libs/mysql/patches/502-fix-hostname.patch
b/libs/mysql/patches/502-fix-hostname.patch
index 632cb9855108b1dc9bc694e690f8f39e68033bce..a35c3be83fa6681798780457c637408d7ef5a964 100644
(file)
--- a/
libs/mysql/patches/502-fix-hostname.patch
+++ b/
libs/mysql/patches/502-fix-hostname.patch
@@
-5,7
+5,7
@@
# Try to determine the hostname
-hostname=`@HOSTNAME@`
-+hostname=`cat /proc/
net
/hostname`
++hostname=`cat /proc/
sys/kernel
/hostname`
# Check if hostname is valid
if test "$cross_bootstrap" -eq 0 -a "$in_rpm" -eq 0 -a "$force" -eq 0