Jockey should provide a way to run noninteractively without dbus

Bug #723223 reported by Evan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Fix Released
High
Martin Pitt
Natty
Fix Released
High
Martin Pitt

Bug Description

In order to enable the nvidia driver in the target system chroot during installation, it would be best if we had a way of calling jockey with incurring dbus as well.

From Martin:
(16:08:29) pitti: so, I think it might be best if I'd fix jockey.ui backend() to just return a locak Backend object instead of a D-BUS proxy when running as root

Evan (ev)
Changed in jockey (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
milestone: none → natty-alpha-3
Martin Pitt (pitti)
Changed in jockey (Ubuntu Natty):
importance: Undecided → High
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in trunk. I added a --no-dbus UI option

  --no-dbus Do not use D-BUS for communicating with the backend. Needs root privileges.

.. which you can use like this:

  sudo jockey-text --no-dbus -e kmod:wl

  Caveats:
   - This needs root privileges.
   - This cannot provide progress feedback, i. e. it is mostly appropriate for jockey-text.

Changed in jockey (Ubuntu Natty):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jockey - 0.9-0ubuntu3

---------------
jockey (0.9-0ubuntu3) natty; urgency=low

  * debian/control: Move nvidia-common from Recommends: to Depends:
    (LP: #704597)
  * jockey/oslib.py, install_packages(): Fix crash with third-party
    repositories that do not have a trusted origin. (LP: #712685)
  * Merge fixes from trunk:
    - Add --no-dbus UI option. This will use a local Backend instance
      instead of communicating with the D-BUS backend interface. This is
      suitable for installers where jockey needs to run in a chroot.
      (LP: #723223)
    - ui.py: Drop __fix_stdouterr(), we are using gettext in unicode
      mode, and this leads to crashes with --help.
    - ui.py: Show translated driver names with --list
 -- Martin Pitt <email address hidden> Wed, 23 Feb 2011 11:53:31 +0100

Changed in jockey (Ubuntu Natty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.