Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 385292 Details for
Bug 403119
sys-apps/microcode-data: support monolithic (<2.6.27) & split microcode files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
monolitic use patch for microcode-data-20140913.ebuild
microcode-data-20140913-monolitic.patch (text/plain), 1.89 KB, created by
nE0sIghT
on 2014-09-22 18:42:39 UTC
(
hide
)
Description:
monolitic use patch for microcode-data-20140913.ebuild
Filename:
MIME Type:
Creator:
nE0sIghT
Created:
2014-09-22 18:42:39 UTC
Size:
1.89 KB
patch
obsolete
>--- ../../../../../portage/sys-apps/microcode-data/microcode-data-20140913.ebuild 2014-09-18 00:03:47.000000000 +0400 >+++ ./microcode-data-20140913.ebuild 2014-09-22 22:39:38.633899018 +0400 >@@ -4,7 +4,7 @@ > > EAPI="4" > >-inherit toolchain-funcs >+inherit linux-info toolchain-funcs > > # Find updates by searching and clicking the first link (hopefully it's the one): > # http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File >@@ -17,29 +17,45 @@ > LICENSE="intel-ucode" > SLOT="0" > KEYWORDS="-* ~amd64 ~x86" >-IUSE="" >+IUSE="monolitic" > >-RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 >+RDEPEND=" >+ monolitic? ( !<sys-apps/microcode-ctl-1.17-r2 ) >+" > > S=${WORKDIR} > >+if ( ! use monolitic); then >+ CONFIG_CHECK="~MICROCODE_INTEL" >+ ERROR_MICROCODE_INTEL="Your kernel needs to support Intel microcode loading. You're suggested to build it as a module as it doesn't require a reboot to reload the microcode, that way." >+fi >+ > src_unpack() { > default >- cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die >+ ! use monolitic && ( cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die ) > } > > src_compile() { >- tc-env_build emake intel-microcode2ucode >- ./intel-microcode2ucode microcode.dat || die >+ if ( ! use monolitic ); then >+ tc-env_build emake intel-microcode2ucode >+ ./intel-microcode2ucode microcode.dat || die >+ fi > } > > src_install() { > insinto /lib/firmware >- doins -r microcode.dat intel-ucode >+ if ( ! use monolitic ); then >+ doins -r microcode.dat intel-ucode >+ else >+ doins -r intel-ucode >+ fi > } > > pkg_postinst() { > elog "The microcode available for Intel CPUs has been updated. You'll need" >- elog "to reload the code into your processor. If you're using the init.d:" >- elog "/etc/init.d/microcode_ctl restart" >+ elog "to reload the code into your processor." >+ if ( use monolitic ); then >+ elog "If you're using the init.d:" >+ elog "/etc/init.d/microcode_ctl restart" >+ fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 403119
:
312689
|
319362
|
350296
|
379904
| 385292