diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-08 00:20:34 -0600 | 
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-08 13:00:24 -0600 | 
| commit | 5c105209db00b2a414a6796d2aef539dc963a310 (patch) | |
| tree | 32cd177148033668b0404783fd69df448fdfe5fd /package/kodi/patches/patch-tools_Linux_kodi_sh_in | |
| parent | 26ce649e233d1ffc8d16f2ee6507f2a86854ca91 (diff) | |
fix startup issues with kodi
Diffstat (limited to 'package/kodi/patches/patch-tools_Linux_kodi_sh_in')
| -rw-r--r-- | package/kodi/patches/patch-tools_Linux_kodi_sh_in | 39 | 
1 files changed, 39 insertions, 0 deletions
diff --git a/package/kodi/patches/patch-tools_Linux_kodi_sh_in b/package/kodi/patches/patch-tools_Linux_kodi_sh_in new file mode 100644 index 000000000..2d0e188d1 --- /dev/null +++ b/package/kodi/patches/patch-tools_Linux_kodi_sh_in @@ -0,0 +1,39 @@ +--- kodi-14.0rc2.orig/tools/Linux/kodi.sh.in	2014-12-05 19:38:43.000000000 -0600 ++++ kodi-14.0rc2/tools/Linux/kodi.sh.in	2014-12-07 08:33:01.128418001 -0600 +@@ -86,15 +86,7 @@ print_crash_report() +   echo -n " Kernel: " >> $FILE +   uname -rvs >> $FILE +   echo -n " Release: " >> $FILE +-  if [ -f /etc/os-release ]; then +-	  . /etc/os-release +-	  echo $NAME $VERSION >> $FILE +-  elif command_exists lsb_release; then +-    echo >> $FILE +-    lsb_release -a 2> /dev/null | sed -e 's/^/    /' >> $FILE +-  else +-    echo "lsb_release not available" >> $FILE +-  fi ++  echo OpenADK >> $FILE +   echo "############## END SYSTEM INFO ##############" >> $FILE +   echo >> $FILE +   echo "############### STACK TRACE #################" >> $FILE +@@ -138,19 +130,6 @@ print_crash_report() + } +  + migrate_home +-python @datadir@/${bin_name}/FEH.py $SAVED_ARGS +-RET=$? +-if [ $RET -ne 0 ]; then +-  exit $RET +-fi +- +-if command_exists gdb; then +-  # Output warning in case ulimit is unsupported by shell +-  eval ulimit -c unlimited +-  if [ ! $? = "0" ]; then +-    echo "${bin_name}: ulimit is unsupported by this shell" 1>&2 +-  fi +-fi +  + LOOP=1 + while [ $(( $LOOP )) = "1" ]  | 
