Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194271 - sys-apps/microcode-ctl split
Summary: sys-apps/microcode-ctl split
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-30 12:16 UTC by Nuno Lopes
Modified: 2008-05-05 04:03 UTC (History)
2 users (show)

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


Attachments
microcode-ctl-1.17.ebuild (microcode-ctl-1.17.ebuild,1.30 KB, text/plain)
2007-10-01 08:14 UTC, Paul Bredbury
Details
ebuild for sys-apps/microcode-data-20080401.ebuild (latest at this time) (microcode-data-20080401.ebuild.txt,512 bytes, patch)
2008-04-24 00:09 UTC, Mike Nerone
Details | Diff
patch from microcode-ctl-1.17.ebuild to microcode-ctl-1.17-r1.ebuild (microcode-1.17-r1.diff.txt,624 bytes, patch)
2008-04-24 00:13 UTC, Mike Nerone
Details | Diff
Modified version of previous that just adds a pkg_postinst (microcode-data-20080401.ebuild,961 bytes, text/plain)
2008-04-24 00:52 UTC, Mike Nerone
Details
Fixed microcode-ctl-1.17-r1.ebuild.diff (microcode-ctl-1.17-r1.ebuild.diff,578 bytes, patch)
2008-04-24 00:57 UTC, Mike Nerone
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Lopes 2007-09-30 12:16:48 UTC
It seems now the updates of the microcode are distributed separately from the updates to the microcode loader code.
My proposal is to either split the package into e.g. microcode-ctl and microcode-data, or overload the current 1.17 version with -rx, to distribute the latest microcode update (September 2007)
Comment 1 Paul Bredbury 2007-10-01 08:14:41 UTC
Created attachment 132298 [details]
microcode-ctl-1.17.ebuild

Easiest method.
Comment 2 Fabian Henze 2008-01-08 20:34:40 UTC
(In reply to comment #1)
> Created an attachment (id=132298) [edit]
> microcode-ctl-1.17.ebuild
> 
> Easiest method.
> 

this would require user-interaction to get the latest microcode ... imho it would be best to use the -rx way!
Comment 3 SpanKY gentoo-dev 2008-03-16 09:02:50 UTC
splitting the ebuilds are fine ... but we'll need a microcode-data ebuild to handle the new intel setup
Comment 4 Mike Nerone 2008-04-24 00:09:41 UTC
Created attachment 150775 [details, diff]
ebuild for sys-apps/microcode-data-20080401.ebuild (latest at this time)

This ebuild blocks <microcode-ctl-1.17-r1, because older versions of microcode-ctl will collide with a file provided by microcode-data. patch for microcode-ctl ebuild will follow.

Note: the URI for the microcode itself contains what appears to be the arbitrary number "14303". I've had no trouble using this path from different machines, but I don't know if that component of the path might change with future releases. Though I don't see anything on intel.com indicating that users are required to download manually, there's a possibility that this arbitrary number does rotate between releases. I hope not, but if it does, this ebuild would require a fetch restriction so that users are forced to locate the file manually.
Comment 5 Mike Nerone 2008-04-24 00:13:05 UTC
Created attachment 150777 [details, diff]
patch from microcode-ctl-1.17.ebuild to microcode-ctl-1.17-r1.ebuild

This patches microcode-ctl-1.17.ebuild to work with (and require) the microcode-data ebuild above. It must be revbumped to at least 1.17-r1 in order to satisy the blocker contained in the microcode-data ebuild. Note that there are no changes to the contents of FILESDIR.
Comment 6 Mike Nerone 2008-04-24 00:52:56 UTC
Created attachment 150778 [details]
Modified version of previous that just adds a pkg_postinst

It occurred to me that we should let users know when new microcode has been installed, so I added a pkg_postinst to do that. My "Note" from the original version of this ebuild still applies.
Comment 7 Mike Nerone 2008-04-24 00:55:03 UTC
Yes, sorry, to be clear - comment #6 is a modifed microcode-data-20080401.ebuild.
Comment 8 Mike Nerone 2008-04-24 00:57:23 UTC
Created attachment 150780 [details, diff]
Fixed microcode-ctl-1.17-r1.ebuild.diff

And I also realized I flubbed up the previous patch to microcode-ctl-1.17-r1.ebuild (no copy-and-pasting diffs! Bad user!). This one is corrected. All notes from comment #5 still apply.
Comment 9 SpanKY gentoo-dev 2008-05-05 04:03:44 UTC
thanks, things should be added to the tree now