Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157748 - need "make mrproper" before "emerge -P gentoo-sources"
Summary: need "make mrproper" before "emerge -P gentoo-sources"
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-10 11:12 UTC by Jerome
Modified: 2006-12-10 11:57 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 Jerome 2006-12-10 11:12:10 UTC
On the following section:
http://www.gentoo.org/doc/en/kernel-upgrade.xml#doc_chap9

The documentation doesn't say we need to run "make mrproper"
before pruning gentoo-sources.
If not, I get the following:
"""
localhost src # du -sh linux-2.6.18-gentoo-r*
48M     linux-2.6.18-gentoo-r2
381M    linux-2.6.18-gentoo-r3
localhost src # pwd       
/usr/src
localhost src #
"""

This was previously made by emerge automatically
but removed because of some problems.
Comment 1 nm (RETIRED) gentoo-dev 2006-12-10 11:57:31 UTC
(In reply to comment #0)
> On the following section:
> http://www.gentoo.org/doc/en/kernel-upgrade.xml#doc_chap9
> 
> The documentation doesn't say we need to run "make mrproper"
> before pruning gentoo-sources.
> If not, I get the following:
> """
> localhost src # du -sh linux-2.6.18-gentoo-r*
> 48M     linux-2.6.18-gentoo-r2
> 381M    linux-2.6.18-gentoo-r3
> localhost src # pwd       
> /usr/src
> localhost src #
> """
> 
> This was previously made by emerge automatically
> but removed because of some problems.
> 
....Then obviously, putting it back in would cause those problems again, wouldn't it? Also, we have paragraphs right after that code listing that say to manually delete all the old directories, so I'd say pruning and removing the old kernels is pretty well covered.

I've never needed to run make mrproper, ever, regardless of Portage's behavior. Manually deleting the directories and files works just fine regardless of how many kernels I prune at a time.