Compare commits

...

7 Commits

5 changed files with 36 additions and 9 deletions

View File

@@ -1 +1 @@
VERSION = 2022.07.28
VERSION = 2024.01.25

5
etc/sudoers.d/dnf Normal file
View File

@@ -0,0 +1,5 @@
# DNF install/update without password for sysadmin or packager groups
Cmnd_Alias DNF_CMD = /usr/bin/dnf update, /usr/bin/dnf install *
%packager ALL = NOPASSWD: DNF_CMD
%sysadmin ALL = NOPASSWD: DNF_CMD

View File

@@ -1,5 +0,0 @@
# Yum install/update without password for sysadmin or packager groups
Cmnd_Alias YUM_CMD = /usr/bin/yum update, /usr/bin/yum install *
%packager ALL = NOPASSWD: YUM_CMD
%sysadmin ALL = NOPASSWD: YUM_CMD

View File

@@ -1,3 +1,21 @@
# openmamba update translations.
# Copyright (C) 2011-2023 openmamba
# Silvan Calarco <silvan.calarco@mambasoft.it>, 2011-2023
#
msgid ""
msgstr ""
"Project-Id-Version: 1.90\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-06-19 12:53+0200\n"
"PO-Revision-Date: 2011-04-26 18:37+CEST\n"
"Last-Translator: Silvan Calarco <silvan.calarco@mambasoft.it>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n"
#: openmamba-netsrpms:21
msgid "Error: invalid option $1; aborting."
msgstr "Errore: opzione $1 non valida; uscita."

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