* correct debian build dependencies

* add huge mem page detection in general initscript
* disable logging completely in jmimemagic-library


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5056 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
f1ori 16 years ago
parent bdae051d9a
commit f99c307eff

@ -47,6 +47,12 @@ SHUTDOWN_TIMEOUT=50
NICE_VAL=0
JAVA_ARGS="-server -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseAdaptiveSizePolicy"
#check if system supports large memory pages and enable it if possible
HUGEPAGESTOTAL="`cat /proc/meminfo | grep HugePages_Total | sed s/[^0-9]//g`"
if [ -n "$HUGEPAGESTOTAL" ] && [ $HUGEPAGESTOTAL -ne 0 ]
then
JAVA_ARGS="$JAVA_ARGS -XX:+UseLargePages"
fi
ifdef(`openSUSE', `dnl
. /etc/rc.status

2
debian/control vendored

@ -2,7 +2,7 @@ Source: yacy
Section: network
Priority: extra
Maintainer: root <root@debian>
Build-Depends: ant, sun-java6-jdk, debhelper (>= 5)
Build-Depends: ant, sun-java5-jdk, debhelper (>= 5), m4
Standards-Version: 3.7.2
Package: yacy

@ -21,7 +21,9 @@
<pathelement location="${libx}/log4j-1.2.9.jar" />
<pathelement location="${libx}/xerces.jar"/>
</classpath>
</javac>
</javac>
<!-- copy log4j.properties, to disable logging -->
<copy file="${src}/de/anomic/plasma/parser/${parserShortName}/log4j.properties" todir="${build}"/>
</target>

Loading…
Cancel
Save