sys-kernel/genkernel: also ensure local firmware can still be optionally used, bug...
authorRobin H. Johnson <robbat2@gentoo.org>
Wed, 12 Oct 2016 13:51:54 +0000 (06:51 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Wed, 12 Oct 2016 14:27:02 +0000 (07:27 -0700)
Package-Manager: portage-2.2.28

sys-kernel/genkernel/genkernel-9999.ebuild
sys-kernel/genkernel/metadata.xml

index 343794db86a1d2e913339086b4d8c7d5ce25b54f..3cbe4ea8df6fd8e6a50d892b0c11e0aa7ec75f81 100644 (file)
@@ -51,7 +51,7 @@ HOMEPAGE="https://www.gentoo.org"
 LICENSE="GPL-2"
 SLOT="0"
 RESTRICT=""
-IUSE="cryptsetup ibm selinux"
+IUSE="cryptsetup ibm +firmware selinux"
 
 DEPEND="sys-fs/e2fsprogs
        selinux? ( sys-libs/libselinux )"
@@ -59,7 +59,7 @@ RDEPEND="${DEPEND}
        cryptsetup? ( sys-fs/cryptsetup )
        app-arch/cpio
        >=app-misc/pax-utils-0.2.1
-       sys-kernel/linux-firmware
+       firmware? ( sys-kernel/linux-firmware )
        !<sys-apps/openrc-0.9.9"
 # pax-utils is used for lddtree
 
index abf4d65c29d74c6503be3e6637f94a9480898cf8..4185e7088e21e4a5671f5b2a4aaba95852ca6dd1 100644 (file)
@@ -7,6 +7,7 @@
        <use>
                <flag name="crypt">Obsolete USE flag. Use cryptsetup for LUKS support. (bug ##414523)</flag>
                <flag name="cryptsetup">Enable support for Luks disk encryption using <pkg>sys-fs/cryptsetup</pkg></flag>
+               <flag name="firmware">Prefer system firmware <pkg>sys-kernel/linux-firmware</pkg> over local copy.</flag>
        </use>
        <upstream>
                <remote-id type="sourceforge">fuse</remote-id>