Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237803 - feature request: blacklist cleanup paths
Summary: feature request: blacklist cleanup paths
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 00:16 UTC by Steven Noonan
Modified: 2008-09-16 02:46 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 Steven Noonan 2008-09-16 00:16:39 UTC
It would be immensely helpful if I could prevent portage from cleaning up certain paths. A practical example: I use ati-drivers on my machine, and I also help out the kernel developers with the latest kernels (currently have 2.6.27-rc5, 2.6.27-rc6, Linus' master branch, and Ingo's x86/tip branch). So basically, I need to be able to install ati-drivers with multiple kernels. I'd much rather not build/install ati-drivers outside of portage's control, because then I have unmanaged files that might not get pruned later on when they're outdated or whatnot.

Unfortunately, if I emerge ati-drivers with 2.6.27-rc5 and then emerge with 2.6.27-rc6, the driver I installed for rc5 gets cleaned up in the process, leaving me with only 1 kernel with the driver installed. So it'd be useful to be able to blacklist certain paths. In this case, /lib/modules.

Thoughts?

Reproducible: Always

Steps to Reproduce:
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2008-09-16 02:42:01 UTC
While the old package instance gets unmerged, the actual kernel modules should stay as /lib/modules is already blacklisted for file removals. Did the modules really get removed in your case, or did you just assume that they are no longer there?
Comment 2 Steven Noonan 2008-09-16 02:46:51 UTC
I saw it "unmerge" the modules, but I just checked if they still exist, and they do. Bugger. I should have investigated further.