I have a idea to make ebuilds with feature prelink TODO: - Check if prelink is installed - Prelink in a virtual directory, why run prelink in /var/tmp/portage .... and not in / , Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 49396 [details, diff] Initial version run with patch -p0 -d /usr/lib/portage/bin
Partial prelinking is not advantageous. You have to relink everything when you change or re-merge libraries and some binaries. It's left to the user to run the full prelinking as they see fit since it consumes amazing quantities of time. You're welcome to continue working on this, but you need to justify the advantage. From previous observation and reading, prelink fails very easily, and in the context of portage, partial prelinks are wasteful.