mambareport: add last 100 installed packages in report using rpm -qa --last
This commit is contained in:
parent
a1197b245b
commit
63b2a4c93f
@ -50,7 +50,7 @@ function catfile() {
|
||||
|
||||
FILENAME=$1
|
||||
FILEDESC=$2
|
||||
|
||||
|
||||
for c in $FILENAME; do
|
||||
cat >> $TEMPFILE << _EOF
|
||||
|
||||
@ -190,7 +190,7 @@ catcommand "/usr/sbin/lsinitrd /boot/initramfs-`uname -r`.img" "running kernel i
|
||||
|
||||
# system boot problems
|
||||
catfile /var/log/initd.sysinit.start "system init logfile"
|
||||
catfile /var/log/initd.*.start "runlevel init logfile"
|
||||
catfile "/var/log/initd.*.start" "runlevel init logfile"
|
||||
catfile /var/log/postplug.log "system configuration tool"
|
||||
|
||||
# Graphical subsystem
|
||||
@ -212,6 +212,7 @@ catfile "/etc/sysconfig/network" "General network configuration"
|
||||
catfile "/etc/resolv.conf" "DNS configuration"
|
||||
|
||||
# Installation
|
||||
catcommand "rpm -qa --last | head -n 100" "Last installed packages"
|
||||
catfile "/var/log/install-*" "Installation log"
|
||||
catfile /var/log/Xorg.5.log "Xorg installation test log"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user