[oe-commits] Sebastian Spaeth : navit: delete navit.launcher

git version control git at git.openembedded.org
Wed Nov 25 11:56:37 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: d5d6d4ffe183ab9fdd1d5da3b4ab726ef0847bba
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d5d6d4ffe183ab9fdd1d5da3b4ab726ef0847bba

Author: Sebastian Spaeth <Sebastian at SSpaeth.de>
Date:   Wed Nov 25 12:56:28 2009 +0100

navit: delete navit.launcher

* as has been done already in OE.dev branch. Somhow this file got missed in the merge though.

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>

---

 recipes/navit/files/navit.launcher |   32 --------------------------------
 1 files changed, 0 insertions(+), 32 deletions(-)

diff --git a/recipes/navit/files/navit.launcher b/recipes/navit/files/navit.launcher
deleted file mode 100644
index 74d5675..0000000
--- a/recipes/navit/files/navit.launcher
+++ /dev/null
@@ -1,32 +0,0 @@
-#! /bin/sh
-#
-# Copyright Matthias Hentges <devel at hentges.net> (c) 2008
-# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license)
-#
-# Filename: navit.launcher
-# Date: 20080105 (YMD)
-#
-#################################################################################
-#
-# 20080105 - v0.0.1	- Initial release
-
-# On devices with low memory (< 512Mb?) Navit will segfault on start.
-# This can be worked around by doing
-# "echo 1 > /proc/sys/vm/overcommit_memory"
-
-if test "`cat /proc/meminfo | grep ^MemTotal | awk '{print $2}'`" -lt "500000"
-then
-	if test "$USER" = "root"
-	then
-		echo "Enabling low-mem workaround..."
-		OLD=`cat /proc/sys/vm/overcommit_memory`
-		echo 1 > /proc/sys/vm/overcommit_memory
-		navit.real $*
-		echo ${OLD} > /proc/sys/vm/overcommit_memory
-		exit
-	else
-		echo "I need root-privs to enable the low-mem workaround!"
-	fi
-fi
-
-navit.real $*





More information about the Openembedded-commits mailing list