nouveau-firmware doesn't put third-party firmware in initramfs

Bug #1309134 reported by Chad Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nouveau-firmware (Ubuntu)
New
Undecided
Unassigned

Bug Description

One way of getting nvidia devices to work is to load proprietary firmware at boot-time. For this to work, the initial RAM filesystem has to hold firmware files (and kernel has to be booted with parameter
 nouveau.config=NvGrUseFW=1
).

nouveau-firmware needs a initramfs hook that loads files under /lib/firmware/nouveau/ onto the temporary directory.

I think this will work:

/etc/initramfs-tools/hooks/nouveau

#!/bin/sh

PREREQ=""

prereqs()
{
    echo "$PREREQ"
}

case $1 in
prereqs)
    prereqs
    exit 0
    ;;
esac

. /usr/share/initramfs-tools/hook-functions

if test "$verbose" != "n"; then
    cpverbosity="-v"
fi

cp -pr $cpverbosity "/lib/firmware/nouveau" "${DESTDIR}/lib/firmware/"

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: nouveau-firmware 20091212-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic i686
ApportVersion: 2.14.1-0ubuntu2
Architecture: i386
Date: Thu Apr 17 13:29:19 2014
Dependencies:

PackageArchitecture: all
SourcePackage: nouveau-firmware
UpgradeStatus: Upgraded to trusty on 2010-09-09 (1315 days ago)

Revision history for this message
Chad Miller (cmiller) wrote :
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.