Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447100 - sys-kernel/genkernel should have an option to avoid firmware installation at all
Summary: sys-kernel/genkernel should have an option to avoid firmware installation at all
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 12:33 UTC by Coacher
Modified: 2016-10-12 14:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2012-12-13 12:33:50 UTC
Currently, genkernel checks whether CONFIG_FIRMWARE_IN_KERNEL option is set to "y" and if so it doesn't install in-kernel firmware. I want neither to compile firmware directly in the kernel image nor use firmware shipped with kernel sources, so I have linux-firmware package installed and CONFIG_FIRMWARE_IN_KERNEL is not set.

Therefore in my case genkernel will install blobs shipped with kernel overwriting files shipped with linux-firmware which is wrong and unwamted behaviour. Please add an option to tell genkernel not to touch firmware at all.

Reproducible: Always
Comment 1 Coacher 2013-06-30 18:24:39 UTC
ping
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-10-12 14:26:41 UTC
commit c9855842ac422b8d3a6e7265b6a3c00efe3891e7
Author: Robin H. Johnson <robbat2@gentoo.org>
Date:   Wed Oct 12 06:48:30 2016 -0700

    FIRMWARE_INSTALL control option.
    
    Prefer sys-kernel/linux-firmware to be installed and used rather than
    always running firmware_install and overwriting the root copy.
    
    Defaults to FIRMWARE_INSTALL=no, with ebuild updated to RDEPEND on
    sys-kernel/linux-firmware, via IUSE='+firmware'
    
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>