Adjust apport hook to attach /boot/grub/device.map if it exists.

This commit is contained in:
Colin Watson 2011-06-22 16:55:40 +01:00
parent 15b4d74a46
commit 2f2dea1483
2 changed files with 7 additions and 0 deletions

View File

@ -36,6 +36,7 @@ def add_info(report):
# To detect if root fs is a loop device
attach_file(report, '/proc/cmdline','ProcCmdLine')
_attach_file_filtered(report, '/etc/default/grub','EtcDefaultGrub')
attach_file_if_exists(report, '/boot/grub/device.map', 'DeviceMap')
invalid_grub_script = []
if not check_shell_syntax('/etc/default/grub'):

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
grub2 (1.99-9) UNRELEASED; urgency=low
* Adjust apport hook to attach /boot/grub/device.map if it exists.
-- Colin Watson <cjwatson@debian.org> Wed, 22 Jun 2011 16:55:06 +0100
grub2 (1.99-8) unstable; urgency=low
[ Robert Millan ]