Merge lp:~brian-murray/apport/casper-version into lp:~ubuntu-core-dev/ubuntu/oneiric/apport/ubuntu

Proposed by Brian Murray
Status: Merged
Merged at revision: 1794
Proposed branch: lp:~brian-murray/apport/casper-version
Merge into: lp:~ubuntu-core-dev/ubuntu/oneiric/apport/ubuntu
Diff against target: 28 lines (+10/-0)
2 files modified
data/general-hooks/ubuntu.py (+3/-0)
debian/changelog (+7/-0)
To merge this branch: bzr merge lp:~brian-murray/apport/casper-version
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Review via email: mp+67579@code.launchpad.net

Description of the change

Due to the fact that casper provides its own version of update-initramfs it'd be useful to include the casper package version in bug reports from Live Media so that we can be certain which version of update-initramfs they have installed.

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

Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/general-hooks/ubuntu.py'
2--- data/general-hooks/ubuntu.py 2011-02-25 14:50:53 +0000
3+++ data/general-hooks/ubuntu.py 2011-07-11 16:32:28 +0000
4@@ -139,6 +139,9 @@
5
6 # if we are running from a live system, add the build timestamp
7 attach_file_if_exists(report, '/cdrom/.disk/info', 'LiveMediaBuild')
8+ if os.path.exists('/cdrom/.disk/info'):
9+ report['CasperVersion'] = apport.packaging.get_version('casper')
10+
11
12 # https://wiki.ubuntu.com/FoundationsTeam/Specs/OemTrackingId
13 attach_file_if_exists(report, '/var/lib/ubuntu_dist_channel',
14
15=== modified file 'debian/changelog'
16--- debian/changelog 2011-07-07 20:44:15 +0000
17+++ debian/changelog 2011-07-11 16:32:28 +0000
18@@ -1,3 +1,10 @@
19+apport (1.21.2-0ubuntu3) oneiric; urgency=low
20+
21+ * data/general-hooks/ubuntu.py: add in casper package version to bugs
22+ reported from Live Media
23+
24+ -- Brian Murray <brian@ubuntu.com> Mon, 11 Jul 2011 09:23:29 -0700
25+
26 apport (1.21.2-0ubuntu2) oneiric; urgency=low
27
28 * data/package-hooks/source_ubiquity.py:

Subscribers

People subscribed via source and target branches