~ubuntu-branches/ubuntu/precise/virtualbox/precise-updates

« back to all changes in this revision

Viewing changes to debian/apport-hook.py

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-10-17 23:23:09 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20111017232309-kzm6841lzk61ranj
Tags: 4.1.4-dfsg-1
* New upstream release.
  - Fixes missing icons when using pt_BR locale. (Closes: #507188)
  - Fixes guest additions download url. (Closes: #637349; LP: #840668)
* Refresh patches.
* Drop the vboxmouse x11 driver. The mouse integration is now completely
  handled by the kernel module.
* Restrict dh_pycentral to the virtualbox binary package.
* Merge changes from the Ubuntu package but use them only when built
  on Ubuntu:
  - Add an Apport hook.
  - Add vboxguest modalias to the package control field.
* Pass KBUILD_VERBOSE=2 to kmk.
* Add 36-fix-text-mode.patch to fix text mode when using the vboxvideo driver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import apport.hookutils
 
2
 
 
3
def add_info(report):
 
4
    """Add a list of installed packages matching 'virtualbox' or 'linux-headers'"""
 
5
    report['VirtualBox.DpkgList'] = apport.hookutils.command_output(["sh", "-c", "dpkg -l | grep -e virtualbox -e linux-headers"])
 
6
 
 
7
    """Add information about installed VirtualBox kernel modules"""
 
8
    report['VirtualBox.ModInfo'] = apport.hookutils.command_output(["sh", "-c",
 
9
        "find /lib/modules/`uname -r` -name \"vbox*\" | xargs -r modinfo"])
 
10
 
 
11
    report['LsMod'] = apport.hookutils.command_output(["lsmod"])