summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/kodi/files/kodi.init (renamed from package/kodi/files/xbmc.init)6
-rw-r--r--package/kodi/files/kodi.postinst (renamed from package/kodi/files/xbmc.postinst)2
-rw-r--r--package/kodi/patches/patch-tools_Linux_xbmc_sh_in20
3 files changed, 22 insertions, 6 deletions
diff --git a/package/kodi/files/xbmc.init b/package/kodi/files/kodi.init
index bbe65c1c2..b15b1d6d4 100644
--- a/package/kodi/files/xbmc.init
+++ b/package/kodi/files/kodi.init
@@ -1,5 +1,5 @@
#!/bin/sh
-#PKG xbmc
+#PKG kodi
#INIT 95
. /etc/rc.conf
@@ -7,8 +7,8 @@
case $1 in
autostop) ;;
autostart)
- test x"${xbmc:-NO}" = x"NO" && exit 0
- test x"$xbmc" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
+ test x"${kodi:-NO}" = x"NO" && exit 0
+ test x"$kodi" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start
;;
start)
diff --git a/package/kodi/files/xbmc.postinst b/package/kodi/files/kodi.postinst
index 45274da68..2620d7dd4 100644
--- a/package/kodi/files/xbmc.postinst
+++ b/package/kodi/files/kodi.postinst
@@ -1,3 +1,3 @@
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf xbmc NO
+add_rcconf kodi NO
diff --git a/package/kodi/patches/patch-tools_Linux_xbmc_sh_in b/package/kodi/patches/patch-tools_Linux_xbmc_sh_in
index 1420f2c1b..30804493f 100644
--- a/package/kodi/patches/patch-tools_Linux_xbmc_sh_in
+++ b/package/kodi/patches/patch-tools_Linux_xbmc_sh_in
@@ -1,5 +1,5 @@
--- kodi-14.0alpha4.orig/tools/Linux/xbmc.sh.in 2014-09-05 14:09:59.000000000 +0200
-+++ kodi-14.0alpha4/tools/Linux/xbmc.sh.in 2014-09-05 18:56:32.792578871 +0200
++++ kodi-14.0alpha4/tools/Linux/xbmc.sh.in 2014-09-08 13:26:02.745294460 +0200
@@ -58,7 +58,7 @@ single_stacktrace()
print_crash_report()
@@ -9,7 +9,23 @@
echo "############## XBMC CRASH LOG ###############" >> $FILE
echo >> $FILE
echo "################ SYSTEM INFO ################" >> $FILE
-@@ -100,31 +100,8 @@ print_crash_report()
+@@ -70,15 +70,6 @@ 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 "############## END SYSTEM INFO ##############" >> $FILE
+ echo >> $FILE
+ echo "############### STACK TRACE #################" >> $FILE
+@@ -100,31 +91,8 @@ print_crash_report()
echo "gdb not installed, can't get stack trace." >> $FILE
fi
echo "############# END STACK TRACE ###############" >> $FILE