* 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 NICE_VAL=0
JAVA_ARGS="-server -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseAdaptiveSizePolicy" 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 ifdef(`openSUSE', `dnl
. /etc/rc.status . /etc/rc.status

2
debian/control vendored

@ -2,7 +2,7 @@ Source: yacy
Section: network Section: network
Priority: extra Priority: extra
Maintainer: root <root@debian> 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 Standards-Version: 3.7.2
Package: yacy Package: yacy

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

Loading…
Cancel
Save