From 63b2a4c93f52f935c14bed31c5369e8cc34ea1c5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 5 Oct 2011 13:30:16 +0200 Subject: [PATCH] mambareport: add last 100 installed packages in report using rpm -qa --last --- mambareport/openmamba-makereport | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mambareport/openmamba-makereport b/mambareport/openmamba-makereport index 41813bd..0cb3338 100755 --- a/mambareport/openmamba-makereport +++ b/mambareport/openmamba-makereport @@ -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"