Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3086 from mus65/xbmc.sh

[Linux] small xbmc.sh crashlog improvements
  • Loading branch information...
commit 57bba0661f814273de23e1b79bfda3931bcc9524 2 parents 276abf9 + 4bf8184
@MartijnKaijser MartijnKaijser authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 tools/Linux/xbmc.sh.in
View
8 tools/Linux/xbmc.sh.in
@@ -64,7 +64,10 @@ print_crash_report()
echo -n " Kernel: " >> $FILE
uname -rvs >> $FILE
echo -n " Release: " >> $FILE
- if which lsb_release > /dev/null; then
+ if [ -f /etc/os-release ]; then
+ . /etc/os-release
+ echo $NAME $VERSION >> $FILE
+ elif which lsb_release > /dev/null; then
echo >> $FILE
lsb_release -a 2> /dev/null | sed -e 's/^/ /' >> $FILE
else
@@ -74,6 +77,9 @@ print_crash_report()
echo >> $FILE
echo "############### STACK TRACE #################" >> $FILE
if which gdb >/dev/null 2>&1; then
+ if which systemd-coredumpctl &> /dev/null; then
+ systemd-coredumpctl dump -o core xbmc.bin &> /dev/null
+ fi
single_stacktrace "$PWD" 1
# Find in plugins directories
if [ $XBMC_HOME ]; then
Please sign in to comment.
Something went wrong with that request. Please try again.