Merge lp:~brian-murray/ubuntu/oneiric/apport/bug-856826 into lp:~ubuntu-core-dev/ubuntu/oneiric/apport/ubuntu

Proposed by Brian Murray
Status: Merged
Merged at revision: 1849
Proposed branch: lp:~brian-murray/ubuntu/oneiric/apport/bug-856826
Merge into: lp:~ubuntu-core-dev/ubuntu/oneiric/apport/ubuntu
Diff against target: 33 lines (+7/-4)
2 files modified
data/package-hooks/source_debian-installer.py (+4/-3)
debian/changelog (+3/-1)
To merge this branch: bzr merge lp:~brian-murray/ubuntu/oneiric/apport/bug-856826
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Ubuntu Core Development Team Pending
Review via email: mp+77022@code.launchpad.net

Description of the change

This resolves and issue where intended log files are not gathered by the debian-installer apport package hook.

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks, looks fine!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/package-hooks/source_debian-installer.py'
--- data/package-hooks/source_debian-installer.py 2011-08-04 18:57:17 +0000
+++ data/package-hooks/source_debian-installer.py 2011-09-26 17:10:27 +0000
@@ -30,10 +30,11 @@
30 report['MemoryUsage'] = command_output(['free'])30 report['MemoryUsage'] = command_output(['free'])
3131
32 if command_available('dmraid'):32 if command_available('dmraid'):
33 report['DmraidSets'] = command_output(['dmraid', '-s'])33 attach_root_command_outputs(report, {'DmraidSets': 'dmraid -s',
34 report['DmraidDevices'] = command_output(['dmraid', '-r'])34 'DmraidDevices': 'dmraid -r'})
35 if command_available('dmsetup'):35 if command_available('dmsetup'):
36 report['DeviceMapperTables'] = command_output(['dmsetup', 'table'])36 attach_root_command_outputs(report,
37 {'DeviceMapperTables': 'dmsetup table'})
3738
38 try:39 try:
39 installer_version = open('/var/log/installer/version')40 installer_version = open('/var/log/installer/version')
4041
=== modified file 'debian/changelog'
--- debian/changelog 2011-09-19 09:58:03 +0000
+++ debian/changelog 2011-09-26 17:10:27 +0000
@@ -8,8 +8,10 @@
8 [ Brian Murray ]8 [ Brian Murray ]
9 * data/general-hooks/ubuntu.py: also check CurrentDmesg for disk errors9 * data/general-hooks/ubuntu.py: also check CurrentDmesg for disk errors
10 as some package hooks add it10 as some package hooks add it
11 * data/package-hooks/source_debian-installer.py: for dmraid collection use
12 attach_root_command_outputs (LP: #856826)
1113
12 -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 19 Sep 2011 09:59:29 +020014 -- Brian Murray <brian@ubuntu.com> Mon, 26 Sep 2011 10:00:59 -0700
1315
14apport (1.23-0ubuntu1) oneiric; urgency=low16apport (1.23-0ubuntu1) oneiric; urgency=low
1517

Subscribers

People subscribed via source and target branches