Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26753 - emerge sys-kernel/kernel fails to delete symbolic link to old kernel source
Summary: emerge sys-kernel/kernel fails to delete symbolic link to old kernel source
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-16 16:00 UTC by Benjamin Schulz
Modified: 2011-10-30 22:22 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 Benjamin Schulz 2003-08-16 16:00:58 UTC
when emerging a Kernel with emerge the symbolic link to the old source is not
deleted. So genkernel uses the old source, even when the old source was unmerged
previously

Reproducible: Always
Steps to Reproduce:
1.unmerge old kernel source
2.emerge new kernel in a higher version
3.run genkernel



Expected Results:  
create a new sybolic link to the source
Comment 1 SpanKY gentoo-dev 2003-08-16 16:05:41 UTC
if you unmerged it but it still had object files laying around then the directory 
would still be there and thus the symlink would be valid and thus it would not be 
removed ... 
 
so is the old dir still there ? 
Comment 2 Benjamin Schulz 2003-08-17 02:13:39 UTC
so is the old dir still there ? 

yes that was it!

has portage some additional parameter that will also delete the dir's? 
When you have much (and many different versions) to unmerge it isn't comfortable to find each dir and type rm....
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-10-11 00:58:52 UTC
portage doesn't anything about files created during the kernel build process
so it can't delete them. I agree that it's annoying to unmerge old kernel
sources and delete old object files by hand, but I haven't seen a better
solution yet.
Comment 4 SpanKY gentoo-dev 2004-08-19 20:51:57 UTC
not a problem that portage will handle