add firmware-tools to Ubuntu

Bug #163120 reported by Matt Domsch
4
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Wishlist
Unassigned

Bug Description

 The firmware-tools project provides tools to inventory hardware and a plugin
 architecture so that different OEM vendors can provide different inventory
 components. It is intended to tie to the package system to enable seamless
 installation of updated firmware via your package manager, as well as provide
 a framework for BIOS and firmware updates.

Package built and uploaded to REVU:
http://revu.tauware.de/details.py?package=firmware-tools

Revision history for this message
Daniel Holbach (dholbach) wrote :
Changed in dell:
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Due to a policy change (https://lists.ubuntu.com/archives/ubuntu-motu/2007-November/002684.html) I set this bug back to 'In Progress'. 'Fix Committed' was decided to be only used for NEW packages that have been uploaded to the archive and are sitting in NEW.

Revision history for this message
Matt Domsch (matt-domsch) wrote :

New upload corrects most of the comments noted by Daniel, though I have not generated manpages for the applications at this time.

Revision history for this message
Matt Domsch (matt-domsch) wrote :

I need to get triggers added (here and in the BIOS payload packages) before this is ready for upload. I had forgotten that step, and am figuring it out now.

Revision history for this message
Matt Domsch (matt-domsch) wrote :

Trigger added, version 1.5.9-0ubuntu2 uploaded to REVU.

debian/triggers contains:
interest firmware-tools-update-firmware

debian/postinst contains:
if [ "$1" == "triggered" ]; then
    for t in $2; do
        if [ "$t" == "firmware-tools-update-firmware" ]; then
            /usr/bin/update_firmware --rpm -y
        fi
    done
fi

and BIOS payload debs debian/postinst contains:
if [ "$1" == "configure" ]; then
   dpkg-trigger firmware-tools-update-firmware
fi

and this works as expected - the update_firmware command is run only once at the end of the dpkg transaction.

Note, this requires a new versioned dependency on dpkg (>= 1.14.5ubuntu6) in both firmware-tools and dell-repo-tools-generated payload debs. This version of dpkg is only available in gutsy and higher. I have no automatic solution for feisty, at best we could change the dpkg-trigger line to be || : to do nothing, and tell people to manually run update_firmware.

Revision history for this message
Matt Domsch (matt-domsch) wrote :

I meant to include a note about the the debianizer Sadhana B. She was a Dell intern, no longer with Dell, so I don't really want her name and invalid email address in the package. Hence I used firmware-tools team <email address hidden> which is both true and valid.

Revision history for this message
Matt Domsch (matt-domsch) wrote :

uploaded to Hardy Universe on 17-Dec-2007.

Changed in dell:
status: Fix Committed → Fix Released
Changed in somerville:
importance: Undecided → Medium
status: New → Fix Released
no longer affects: dell
Revision history for this message
Timothy R. Chavez (timrchavez) wrote :

The bug task for the somerville project has been removed by an automated script. This bug has been cloned on that project and is available here: https://bugs.launchpad.net/bugs/1305819

no longer affects: somerville
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.