Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84109 - how prelink is built into portage is ambiguous
Summary: how prelink is built into portage is ambiguous
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Prelink HOWTO (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-04 10:23 UTC by mccary
Modified: 2005-03-25 01:50 UTC (History)
1 user (show)

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 mccary 2005-03-04 10:23:44 UTC
i am still not entirely certain how prelink support is built into portage. it would be nice if this was explained a little bit. the following are ambiguous ( to me ).

1. how does portage handle prelink changing the mtimes of binaries? i dont want stale binaries cluttering my system because portage did not remove them due to mtime. from what i understand, the prelink command maintains a record of what binaries it has modified and how to undo those changes. does this also store the orginial mtime? what if i prelink a binary twice? are both mtimes saved?

2. is ``prelink'' a make.conf FEATURE keyword or is it not? i have found conflicting information on this. the man page for make.conf does not mention this keyword, yet the bug http://bugs.gentoo.org/show_bug.cgi?id=11188 does.

3. how is prelink supported in portage? will portage automatically prelink binaries? will portage hiccup if i use the prelink command manually?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2005-03-25 01:50:24 UTC
Portage uses the prelink records. You can prelink as much as you want, it should all be taken care of.

You do not need the prelink FEATURE flag. It's automatically enabled when Portage finds the prelink binary. I've added this to the guide.

Portage will not automatically prelink binaries; this isn't mentioned in the guide either - the guide explicitly states that you need to run the prelink command yourself.

Updates to prelink-guide.xml in CVS.