This commit is contained in:
midoks
2023-08-20 00:25:46 +08:00
parent d35a680fec
commit 050bd158c1
2 changed files with 10 additions and 2 deletions
+9 -1
View File
@@ -8,4 +8,12 @@ rootPath=$(dirname "$rootPath")
serverPath=$(dirname "$rootPath") serverPath=$(dirname "$rootPath")
install_tmp=${rootPath}/tmp/mw_install.pl install_tmp=${rootPath}/tmp/mw_install.pl
SYS_ARCH=`arch` SYS_ARCH=`arch`
# 关于macosx使用dtrace
# https://groups.google.com/g/openresty/c/MswlH_8DDHA
# http://dtrace.org/blogs/brendan/2012/11/14/dtracing-in-anger/
# sudo dtrace -x ustackframes=100 -n 'pid$target::mach_msg_trap:entry { @[ustack()] = count(); } tick-30s { exit(0); }' -p 2915 -o out.SystemUIServer_stacks
+1 -1
View File
@@ -2751,7 +2751,7 @@ def installPreInspection(version):
if not sysName in ('debian', 'ubuntu'): if not sysName in ('debian', 'ubuntu'):
return '仅支持debian,ubuntu' return '仅支持debian,ubuntu'
if (sysName == 'debian' and not sysId in('11', '10')): if (sysName == 'debian' and not sysId in('12', '11', '10')):
return 'debian支持10,11' return 'debian支持10,11'
if (sysName == 'ubuntu' and version == '5.7' and not sysId in ('18.04')): if (sysName == 'ubuntu' and version == '5.7' and not sysId in ('18.04')):