Compare commits

...

3 Commits

2 changed files with 13 additions and 4 deletions

View File

@ -1 +1 @@
VERSION = 2023.09.01
VERSION = 2024.01.25

View File

@ -2,15 +2,20 @@
#
# GNU/Linux O.S. report generation tool
#
# Copyright (c) 2008-2022 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (c) 2008-2024 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
MAKEREPORT_VERSION=20220728
MAKEREPORT_VERSION=20240125
TEMPFILE=`mktemp`
. ${ROOT}/etc/sysconfig/machine
. ${ROOT}/etc/os-release
if [ "${SUDO_USER}" == "" ]; then
# mambareport uses pkexec instead of sudo
SUDO_USER="\#${PKEXEC_UID}"
fi
[ ! "$SYSTEM_MANUFACTURER" -o "$SYSTEM_MANUFACTURER" = "System manufacturer" ] && {
SYSTEM_MANUFACTURER=unknown
}
@ -120,7 +125,8 @@ _EOF
}
echo "${NAME} report generation tool ${MAKEREPORT_VERSION}"
echo "Copyright (c) 2008-2022 by Silvan Calarco <silvan.calarco@mambasoft.it>"
echo "Copyright (c) 2008-2024 by Silvan Calarco <silvan@openmamba.org>"
echo "Released under the terms of the GNU GPL v3 license"
echo
[ $UID = 0 ] || {
@ -210,6 +216,9 @@ catfile /var/log/Xorg.5.log "Xorg installation test log"
# Other details
catcommand "/usr/bin/lspci -vv" "PCI hardware information (verbose)"
# Systemd coredumps
catcommand "/usr/bin/coredumpctl info -q -r" "Systemd coredumps (more recent first)"
cp $TEMPFILE $REPORTNAME || exit 1
chmod +r $REPORTNAME
rm -f $TEMPFILE