rpms/pm-utils/devel pm-utils-bugreport-info.sh, NONE, 1.1 pm-utils.spec, 1.89, 1.90
Till Maas (till)
fedora-extras-commits at redhat.com
Fri Jan 11 14:38:27 UTC 2008
Author: till
Update of /cvs/pkgs/rpms/pm-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6759
Modified Files:
pm-utils.spec
Added Files:
pm-utils-bugreport-info.sh
Log Message:
* Fri Jan 11 2008 Till Maas <opensource till name> - 0.99.4-14
- add pm-utils-bugreport-info.sh script to collect information for bugreports
--- NEW FILE pm-utils-bugreport-info.sh ---
#!/bin/bash
shopt -s nullglob
exec 2>&1
LANG=C
echo SUSPEND LOG
cat /var/log/pm-suspend.log
echo ======
echo SYS POWER
ls -lA /sys/power
echo ======
echo SYS POWER STATE
cat /sys/power/state
echo ======
echo SYS POWER DISK
cat /sys/power/disk
echo ======
echo HAL INFO
lshal | egrep "(system.hardware.(product|vendor|version)|smbios.bios.version|power_management.quirk)"
echo ======
echo ETC PM
ls -lAR /etc/pm
for dir in /etc/pm/*
do
echo DIR ${dir}
for file in ${dir}/*
do
echo FILE $file
cat ${file}
echo ======
done
echo ======
done
echo UNAME
uname -a
echo ======
echo RPM
rpm --qf '%{name}-%{version}-%{release}\n' -q kernel pm-utils hal hal-info gnome-power-manager vbetool radeontool hdparm
echo ======
echo FEDORA RELEASE
cat /etc/fedora-release
echo ======
Index: pm-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pm-utils/devel/pm-utils.spec,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- pm-utils.spec 9 Jan 2008 02:45:57 -0000 1.89
+++ pm-utils.spec 11 Jan 2008 14:37:48 -0000 1.90
@@ -2,7 +2,7 @@
Summary: Power management utilities and scripts for Fedora
License: GPLv2
Version: 0.99.4
-Release: 13%{?dist}
+Release: 14%{?dist}
Group: System Environment/Base
URL: http://pm-utils.freedesktop.org
Requires: usermode kbd pciutils >= 2.2.1
@@ -26,6 +26,7 @@
Source21: pm-utils-99hd-apm-restore
Source22: pm-utils-hd-apm-restore.conf
+Source23: pm-utils-bugreport-info.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: hal-devel pkgconfig
@@ -94,6 +95,8 @@
install -D -m 0755 %{SOURCE21} $RPM_BUILD_ROOT%{_exec_prefix}/lib/pm-utils/sleep.d/99hd-apm-restore.hook
install -D -m 0644 %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/pm/config.d/hd-apm-restore.conf
+install -D -m 0755 %{SOURCE23} $RPM_BUILD_ROOT%{_bindir}/pm-utils-bugreport-info.sh
+
%clean
%{__rm} -rf $RPM_BUILD_ROOT
@@ -140,6 +143,7 @@
%{_bindir}/pm-powersave
%{_bindir}/pm-suspend
%{_bindir}/pm-suspend-hybrid
+%{_bindir}/pm-utils-bugreport-info.sh
%{_sbindir}/pm-hibernate
%{_sbindir}/pm-powersave
%{_sbindir}/pm-suspend
@@ -150,6 +154,9 @@
%ghost %verify(not md5 size mtime) %{_localstatedir}/log/pm-suspend.log
%changelog
+* Fri Jan 11 2008 Till Maas <opensource till name> - 0.99.4-14
+- add pm-utils-bugreport-info.sh script to collect information for bugreports
+
* Wed Jan 09 2008 Till Maas <opensource till name> - 0.99.4-13
- update README to describe the current beheaviour of pm-utils
More information about the fedora-extras-commits
mailing list