Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342251 - Unpackage kernels to /usr/src directly instead of to working dir then copy over
Summary: Unpackage kernels to /usr/src directly instead of to working dir then copy over
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 22:59 UTC by Gary G. Sparkes Jr.
Modified: 2010-10-27 22:08 UTC (History)
0 users

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 Gary G. Sparkes Jr. 2010-10-22 22:59:47 UTC
I believe it would be a good enhancement for the kernel sources to be directly unpacked and patched in /usr/src if they don't trash over another directory already there. All kernel versions are slotted and take up their own directory, it takes a lot of time to copy over the sources over after extracting them. It would almost halve the time it takes to emerge the kernel sources and would save much disk writes on SSD systems and greatly increase emerge speeds on older systems of these packages.

Reproducible: Always

Steps to Reproduce:
1. emerge *-sources
2.
3.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-10-26 14:49:46 UTC
Interesting point, but might be difficult to accomplish in ebuild/image strucktures.
Comment 2 Gary G. Sparkes Jr. 2010-10-26 15:08:36 UTC
(In reply to comment #1)
> Interesting point, but might be difficult to accomplish in ebuild/image
> strucktures.
> 

Is it possible in ebuilds to do patching during the installation section? If not, this would probably only be workable for vanilla-sources. Unless prepatched tgz's were hosted for kernel images, as well. Patching during installation, or doing the installation during the "compiling" section, might solve this as well.
Comment 3 Mike Pagano gentoo-dev 2010-10-27 22:08:28 UTC
This will not work in portage. There are many technical reasons this can't be done. The image directory is needed for things such as INSTALL_MASK and some FEATURES. Also, portage needs the image directory to track who owns what files.